• Resolved Barrett Golding

    (@hearvox)


    FYI, Getting this error in WP-CLI when WP Console plugin is activated:

    Deprecated: Psy\info(): Implicitly marking parameter $config as nullable is deprecated, the explicit nullable type must be used instead in {PATH…}/wp-content/plugins/wp-console/lib/php-8.0/vendor/psy/psysh/src/functions.php on line 131

    Looks like the prob is the param default for this function:
    function info(Configuration $config = null)

    Other than that: Thanks for your amazingly useful plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Edi Amin

    (@ediamin)

    Hi @hearvox , thanks for reporting the error. Can you please let me know which PHP version you’re using?

    Thread Starter Barrett Golding

    (@hearvox)

    Using PHP 8.4.13

    Plugin Author Edi Amin

    (@ediamin)

    Thank you Barrett. I’ll try to fix this as soon as possible.

    Plugin Author Edi Amin

    (@ediamin)

    Hi @hearvox, I’ve updated the plugin to support PHP 8.4. Please use the updated version, run your code, and let me know if it fixes the deprecation warning or if you’re still seeing it.

    Thread Starter Barrett Golding

    (@hearvox)

    Updated plugin to 2.6.0. Deprecation notice now gone. Thanks so much for your quick work and outstanding plugin.

    Plugin Author Edi Amin

    (@ediamin)

    Thank you Barrett for the update! I’m glad to hear you’re no longer seeing the deprecation notice.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.