Skip to content

Passing E_USER_ERROR to trigger_error() is deprecated since 8.4 #2000

Description

@jools-r

I tried installing wet_quickopen 1.7 but forgot to first install wet_peex which is required for it to function.

In PHP 8.4, Textpattern then throws an error, but it is not specific to the plugin:

8192 "Passing E_USER_ERROR to trigger_error() is deprecated since 8.4, throw an exception or call exit with a string message instead"
in /path/to/site/textpattern/lib/txplib_misc.php at line 1252.

This is indeed noted on php.net and wiki.php.net.

We have a whole load of such situations in the core: see this GitHub repo search.

Additional information

Textpattern version: 4.9-dev

Web server vendor and version: Laravel valet = nginx + php + mysql

PHP version: 8.4.10

Operating system: mac linux

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions