• Resolved forgetme

    (@forgetme)


    Hi,
    I’m running PHP 8.0.1 on my development environment as we start planning out our upgrade and I’m getting a deprecated code warning (see below) for code used in your plug-in. Can you please address this in your next update so your plug-in is no longer a blocker from us migrating to PHP 8.0.1 on our production environment?

    Thanks.

    
    PHP Deprecated:  Required parameter $atts follows optional parameter $return_value in \wp-content\plugins\woocommerce-jetpack\includes\shortcodes\class-wcj-shortcodes-products-crowdfunding.php on line 90
    
    
    PHP Deprecated:  Required parameter $templates follows optional parameter $section in \wp-content\plugins\woocommerce-jetpack\includes\class-wcj-checkout-custom-fields.php on line 278
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support David G

    (@gravid7)

    Hi @forgetme

    Thank you for bringing our attention here.
    Sure we will consider this and resolve it in the next update ??

    Thread Starter forgetme

    (@forgetme)

    Hi @gravid7,
    Today I updated to version 5.3.8 which according to the changelog sounds like it should be compatible with PHP 8.0.2 now.

    = 5.3.8 – 24/02/2021 =

    * PHP 8.0.2 tested
    * WooCommerce 5.0 tested

    This is not the case as I still get the 2 errors above related to this plugin and PHP 8. Just wanted to pass along that there are still issue that need to be fixed for this plugin to fully support PHP 8.

    Thread Starter forgetme

    (@forgetme)

    Here is some additional info around the hooks that may help in tracking these issues down to fix them.

    
    Required parameter $atts follows optional parameter $return_value
    wp-content/plugins/booster-plus-for-woocommerce/includes/shortcodes/class-wcj-shortcodes-products-crowdfunding.php:90
    WC_Jetpack->__construct()
    wp-content/plugins/booster-plus-for-woocommerce/booster-plus-for-woocommerce.php:88
    WC_Jetpack::instance()
    wp-content/plugins/booster-plus-for-woocommerce/booster-plus-for-woocommerce.php:117
    WCJ()
    wp-content/plugins/booster-plus-for-woocommerce/booster-plus-for-woocommerce.php:121
    
    
    Required parameter $templates follows optional parameter $section
    wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-custom-fields.php:278
    WC_Jetpack->__construct()
    wp-content/plugins/booster-plus-for-woocommerce/booster-plus-for-woocommerce.php:88
    WC_Jetpack::instance()
    wp-content/plugins/booster-plus-for-woocommerce/booster-plus-for-woocommerce.php:117
    WCJ()
    wp-content/plugins/booster-plus-for-woocommerce/booster-plus-for-woocommerce.php:121
    
    Plugin Author ronyp

    (@ronyp)

    Hello,

    Can you please let me know that do you have updated PHP 8.0.2?
    As Above errors have been not being found on the latest PHP version.
    Kindly upgrade your PHP version to that and it should fix the issue.

    Kind Regards,
    Rony P – Support Team

    Thread Starter forgetme

    (@forgetme)

    Version info:
    WordPress: 5.6.2
    WooCommerce: 5.0.0
    PHP-FPM: 8.0.2
    Still getting the error, so I disabled all other plugins so it was only WooCommerce and Booster for WooCommerce and the deprecation notice went away, so it relates to Booster and another plugin in someway. I’ll have to investigate further.

    You can close this bug and I’ll open a new one once I determine if it is on your side or theirs.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP 8.0 Support’ is closed to new replies.