• Resolved forgetme

    (@forgetme)


    I’m seeing the following 2 PHP Deprecated issues in my logs for this plugin on PHP 8.0.3.

    
    PHP Deprecated: Required parameter $atts follows optional parameter $return_value wp-content/plugins/woocommerce-jetpack/includes/shortcodes/class-wcj-shortcodes-products-crowdfunding.php on line 90.
    
    WC_Jetpack->__construct()
    wp-content/plugins/woocommerce-jetpack/woocommerce-jetpack.php:88
    WC_Jetpack::instance()
    wp-content/plugins/woocommerce-jetpack/woocommerce-jetpack.php:117
    WCJ()
    wp-content/plugins/woocommerce-jetpack/woocommerce-jetpack.php:121
    
    
    PHP Deprecated: Required parameter $templates follows optional parameter $section wp-content/plugins/woocommerce-jetpack/includes/class-wcj-checkout-custom-fields.php on line 278.
    
    WC_Jetpack->__construct()
    wp-content/plugins/woocommerce-jetpack/woocommerce-jetpack.php:88
    WC_Jetpack::instance()
    wp-content/plugins/woocommerce-jetpack/woocommerce-jetpack.php:117
    WCJ()
    wp-content/plugins/woocommerce-jetpack/woocommerce-jetpack.php:121
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • +1 for PHP 8.0.3 support.

    Plugin Support David G

    (@gravid7)

    Hi @forgetme & @rhevstudios

    Thanks for bringing our attention here.

    The plugin is tested up to PHP 8.0.2. We will test with the next versions and will resolve these errors in the upcoming update. You can remove these errors by adding the below lines to the wp-config.php file.

    define(‘WP_DEBUG’, false);
    define(‘WP_DEBUG_LOG’, false);
    define( ‘WP_DEBUG_DISPLAY’, false );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Deprecated in logs for PHP 8.0.3’ is closed to new replies.