• Resolved Marc

    (@arbolife)


    Hi,

    I updated my site to PHP 8.0 and since then the feeds aren’t updating. Even when I manually run a feed, it doesn’t work. I looked at the error logs and here is what I get:

    2022/12/01 07:57:32 [error] 37159#37159: *383567 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "project_hash" in /www/omjuicersch_501/public/wp-content/plugins/woo-product-feed-elite/woocommerce-sea.php on line 2070" while reading response header from upstream, client: 31.10.175.39, server: omjuicers.ch, request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php8.0-fpm-omjuicersch.sock:", host: "omjuicers.ch:24693", referrer: "https://omjuicers.ch/wp-admin/admin.php?page=woosea_elite_manage_feed"
    
    2022/12/01 07:57:27 [error] 37159#37159: *383558 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /www/omjuicersch_501/public/wp-content/plugins/woo-product-feed-elite/classes/class-get-products.php:2567
    Stack trace:
    #0 /www/omjuicersch_501/public/wp-content/plugins/woo-product-feed-elite/classes/class-get-products.php(2567): round('')
    #1 /www/omjuicersch_501/public/wp-content/plugins/woo-product-feed-elite/woocommerce-sea.php(4650): WooSEA_Elite_Get_Products->woosea_get_products(Array)
    #2 /www/omjuicersch_501/public/wp-content/plugins/woo-product-feed-elite/woocommerce-sea.php(2177): woosea_elite_continue_batch('vMrku2Gj9ecivYk...')
    #3 /www/omjuicersch_501/public/wp-includes/class-wp-hook.php(308): woosea_elite_project_refresh('')
    #4 /www/omjuicersch_501/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #5 /www/omjuicersch_501/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #6 /www/omjuicersch_501/public/wp-admin/admin-ajax.php(188)" while reading response header from upstream, client: 31.10.175.39, server: omjuicers.ch, request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php8.0-fpm-omjuicersch.sock:", host: "omjuicers.ch:24693", referrer: "https://omjuicers.ch/wp-admin/admin.php?page=woosea_elite_manage_feed"

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Marc

    (@arbolife)

    Now just browsing the plugin’s setting page generates a fatal error and I get an automatic email from WordPress:

    WordPress version 6.1.1
    Active theme: Kleo Child (version )
    Current plugin: Product Feed ELITE for WooCommerce (version 1.3.6)
    PHP version 8.0.25
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 538 of the file /www/omjuicersch_501/public/wp-content/plugins/woo-product-feed-elite/pages/admin/woosea-manage-settings.php. Error message: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /www/omjuicersch_501/public/wp-content/plugins/woo-product-feed-elite/pages/admin/woosea-manage-settings.php:538
    Stack trace:
    #0 /www/omjuicersch_501/public/wp-content/plugins/woo-product-feed-elite/pages/admin/woosea-manage-settings.php(538): fwrite(false, 'Cats chase mice')
    #1 /www/omjuicersch_501/public/wp-content/plugins/woo-product-feed-elite/classes/class-admin-pages-template.php(18): require('/www/omjuicersc...')
    #2 /www/omjuicersch_501/public/wp-content/plugins/woo-product-feed-elite/woocommerce-sea.php(4783): Construct_Elite_Admin_Pages->set_page('woosea-manage-s...')
    #3 /www/omjuicersch_501/public/wp-includes/class-wp-hook.php(308): woosea_elite_manage_settings('')
    #4 /www/omjuicersch_501/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #5 /www/omjuicersch_501/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #6 /www/omjuicersch_501/public/wp-admin/admin.php(259): do_action('product-feed-el...')
    #7 {main}
      thrown

    Hi,

    Thanks for reaching out to us and using the Elite version of our plugin. Much appreciated.

    Unfortunately, per the WordPress forum guidelines, we’re not allowed to discuss our paid Elite plugin here so for any questions about our paid plugins, please contact our support team directly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error+plugin not working since PHP 8.0 update’ is closed to new replies.