• Activating Jetpack Protect Version 1.2.0 in PHP 8.2 in WP 6.2-beta1, gives following deprecated warnings.

    Deprecated: Creation of dynamic property Automattic\Jetpack\Connection\Manager::$error_handler is deprecated in C:\xampp\htdocs\wp\wp-content\plugins\jetpack-protect\jetpack_vendor\automattic\jetpack-connection\src\class-manager.php on line 94
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Bruce (a11n)

    (@bruceallen)

    Happiness Engineer

    Hi @ipajen

    Can you try deleting the plugin and reinstalled to see if the error then goes away? Let us know if that resolves the issue.

    Thread Starter Jarko Piironen

    (@ipajen)

    @bruceallen Deleted and reinstalled, and when activated the warning is still there in PHP 8.2, WordPress 6.2-beta2-55349.

    Note its when using PHP 8.2 and debug is active.

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', true );
    Plugin Support Bruce (a11n)

    (@bruceallen)

    Happiness Engineer

    Hi @ipajen

    Thanks for the update. Is there a reason you have debug active? Does it work without debug turned on? Is there anything in the debug logs about the Protect plugin?

    Could you also please post your site URL here so that we can have a look?

    If you want it to remain private, you can also contact us via this contact form. If you choose to reach out directly, please include a link to this thread.

    Thanks!

    Thread Starter Jarko Piironen

    (@ipajen)

    @bruceallen sorry its a local copy so there is no url to share. But it’s easy reproduce just use php 8.2 with debug on with your plug-in. The reason is easy it’s to find the plugins I use who needs to fix the issues so when my hosting supplier is supporting PHp 8.2 it’s Time to start using it in production. Even if debug is not enabled it messes up logfiles in serverlogs so it’s harder to see important notices. Thanks, looking forward for a fix. And in the long turn will be a fatal issue in future php versions.

    I have not been able to reproduce this. Where exactly are you seeing the deprecated warning on the site? What specifically are you trying to do on the site, and where, when the warning appears?

    Thread Starter Jarko Piironen

    (@ipajen)

    @julesomattic are you using PHP 8.2 ? As PHP 8.1 doesn’t show this warning.

    1. Install fresh installation of WordPress 6.2 beta2 on PHP 8.2
    2. Enable debug in Wp-config.php with define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’, true );
    3. Install the JetPack Protect version 1.2
    4. Activate the plugin and the warning will show.
    Thread Starter Jarko Piironen

    (@ipajen)

    Picture of the warning.

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @ipajen

    Thanks for the additional information.

    Please create a bug report here:

    https://github.com/Automattic/jetpack/issues/new?assignees=&labels=Needs+triage%2C%5BType%5D+Bug%2CUser+Report&template=bug-report.yml

    This will get the issue in front of our development team. It is generally best for you to create the issue as that will allow them to follow up with additional questions in case they have trouble reproducing the issue.

    If you want to share the link to the issue here once it is created that may be helpful for others who want to follow the progress.

    Thread Starter Jarko Piironen

    (@ipajen)

    Plugin Support Swish (a11n)

    (@swisha8c)

    Hi @ipajen,

    Thanks for submitting that issue! As @lastsplash mentioned, following along with the progress of this issue there will be your best bet.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘PHP 8.2 deprecated warning’ is closed to new replies.