• Resolved danieli2u

    (@danieli2u)


    Dear Staff,

    since a few days we have problems with updating google shopping feed.
    If we try to refresh shopping feed the plugin seems to hung itself while it says “processing” but is neither moving forward nor publsihing the refreshed feed. Even we are getting a Merchant-Center Error since <g:price> and <g:sale_price> have equal values.

    That is what the debug-protocol reveales:
    Can you help us fix this error?

    Kind regards,
    Daniel

    2021-10-12T00:02:24+00:00 CRITICAL Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /home/wp-content/plugins/best-woocommerce-feed/admin/class-rex-product-data-retriever.php:2856
    Stack trace:
    #0 /home/wp-content/plugins/best-woocommerce-feed/admin/class-rex-product-data-retriever.php(271): Rex_Product_Data_Retriever->is_dropship_attr('')
    #1 /home/wp-content/plugins/best-woocommerce-feed/admin/class-rex-product-data-retriever.php(211): Rex_Product_Data_Retriever->set_val(Array)
    #2 /home/wp-content/plugins/best-woocommerce-feed/admin/class-rex-product-data-retriever.php(153): Rex_Product_Data_Retriever->set_all_value()
    #3 /home/wp-content/plugins/best-woocommerce-feed/admin/feed/abstract-rex-product-feed-generator.php(1171): Rex_Product_Data_Retriever->__construct(Object(WC_Product_Variable), Object(Rex_Product_Feed_Google), Array)
    #4 /home/wp-content/plugins/best-woocommerce-feed/admin/feed/class-rex-product-feed-google.php(91): Rex_Product_Feed_Abstract_Generator->get_product_data(Object(WC_Product_Variable), Array)
    #5 /home/wp-content/plugins/best-woocommerce-feed/admin/feed/class-rex-product-feed-google.php(34): Rex_Product_Feed_Google->generate_product_feed()
    #6 /home/wp-content/plugins/best-woocommerce-feed/admin/class-rex-product-feed-background-process.php(74): Rex_Product_Feed_Google->make_feed()
    #7 /home/wp-content/plugins/best-woocommerce-feed/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php(301): Rex_Product_Feed_Background_Process->task(Object(Rex_Product_Feed_Google))
    #8 /home/wp-content/plugins/best-woocommerce-feed/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php(450): WP_Background_Process->handle()
    #9 /home/wp-includes/class-wp-hook.php(303): WP_Background_Process->handle_cron_healthcheck()
    #10 /home/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #11 /home/wp-includes/plugin.php(518): WP_Hook->do_action(Array)
    #12 /home/wp-cron.php(138): do_action_ref_array('wp_rex_product_...', Array)
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • Had a similar error, in my case it is running over PHP8, this issue doesn’t happen on PHP7, it can be temporary fixed by adding casting second parameter into array while it is solved.

    Hello @danieli2u ,

    Can you please give me your WooCommerce error log? You will get the log from WooCommercer >> Status >> Logs >> Search for the most recent WPFM error logs, copy the log and give it to us.

    Also, can you give me your feed link and a full-page screenshot of your feed settings (feed attributes + feed settings)?

    Let me know.

    Thank you.

    Hello @camador ,

    Thanks for your suggestion, I am forwarding your suggestion to our developers if this helps.

    Thank you.

    Hello @danieli2u ,

    I was following up to see if your issue is resolved.

    Let me know.

    Thanks.

    Hi,

    It’s been a while we haven’t heard from you. I hope your issue is resolved now.

    I am marking this thread as resolved now. You’re always welcome to open another thread if you face any issues with our plugin.

    Let me know.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with Feed-Refreshment: CRITICAL Uncaught TypeError’ is closed to new replies.