• Resolved Sean Conklin

    (@seanconklin)


    Deprecated Return type of SkyVerge\WooCommerce\PluginFramework\v5_10_3\SV_WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice1

    wp-content/plugins/godaddy-payments/vendor/skyverge/wc-plugin-framework/woocommerce/compatibility/class-sv-wc-datetime.php:85

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Kari-SkyVerge

    (@kariskyverge)

    Hey Sean,

    Thanks for reaching out about our plugin!

    We are still currently working to make sure that all of our plugins are compatible with the latest beta versions of PHP. This documentation states WordPress is still in beta support for PHP 8.1: https://make.www.ads-software.com/core/handbook/references/php-compatibility-and-wordpress-versions/. Our plugins are compatible with the latest stable builds of PHP, and currently 8.0 is the latest stable version.

    This “deprecated” error notice is just letting us know that some of the code we’re currently using will be deprecated in upcoming PHP versions. We actively maintain our codebase to keep it compatible with new versions of PHP that are released, so rest assured that we will make any necessary changes prior to the code that we’re using becoming incompatible with the current stable version of PHP. ??

    In the meantime, you can ignore these notices as long as everything is still functioning correctly. Could you please confirm that you’re not seeing any issues with the way that the plugin works?

    All the Best,
    Kari

    Thread Starter Sean Conklin

    (@seanconklin)

    Hi Kari. I’ve been holding on the PHP 8.1 release for most sites, though with PHP 8.2 already out and the documented WordPress performance gains of PHP 8.1; I’m eager to see this adopted soon. Being over a year matured, most hosts are offering it. WP Engine has not released it yet.

    This wiki resource looks strange to me. It shows PHP 8.0, the minimum supported version of PHP today, in beta support. It also shows three versions of PHP having beta support at the same time. Beta support could only be for the latest version, i.e. can’t practically beta test multiple versions in concurrency. With PHP 8.1 in beta support since WordPress 5.9 and the latest core version 6.1 for months now, the documentation must be behind.

    I’ll keep an eye on this plugin and let you know if I see anything actually break. This is the only plugin giving me PHP 8.1 warnings on this site.

    Plugin Support Kari-SkyVerge

    (@kariskyverge)

    Hi Sean,

    Those are all really valid points, so I suspect your are correct in that the documentation could be lingering behind actual practice right now. Thanks for pointing that out!

    Whenever we get notified of these deprecation errors from merchants, we send a note to our product and engineering teams so that they are aware that these are getting seen and experienced, and hopefully those updates will get pushed out sooner. I will definitely put in a plug for GoDaddy Payments for WooCommerce needing to be updated to remove the deprecated code on your behalf!

    And thanks also for letting us know that currently this is the only plugin on the site firing off these errors for you. As you stated, keeping an eye on the plugin to be sure it is ready for any future PHP updates is best practice here, however I would also encourage you to watch the changelog for updates on our plugin as well, so you can get this error message to resolve as soon as possible. ??

    Please do let us know if you see any functional issues crop up before we get those deprecations taken care of! Is there anything else we can help with on this issue for now?

    All the Best,
    Kari

    Plugin Support jessicaskyverge

    (@jessicaskyverge)

    Hey @seanconklin,

    It has been a long time since we heard from you, so I’m going to mark this topic as resolved.

    If you’re still experiencing issues please take a look at our FAQs for more information and create a new thread if you have further questions.

    Thanks,
    Jessica

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP 8.1 Deprecated notice SV_WC_DateTime::getTimestamp()’ is closed to new replies.