• Resolved sintarta

    (@sintarta)


    Hi
    Feed for facebook
    1. Delete plugin, install again
    2. Delete feed, create again
    3. Cron is ok, an dworking. “woosea_cron_hook”
    4. On woocommerce log files found this
    `2020-11-17T10:38:34+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /home/svt8c/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php:2206
    Stack trace:
    #0 /home/svt8c/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2206): str_replace(‘>’, ‘>’, Object(WP_Error))
    #1 /home/svt8c/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4475): WooSEA_Get_Products->woosea_get_products(Array)
    #2 /home/svt8c/public_html/wp-includes/class-wp-hook.php(287): woosea_continue_batch(‘yRYNstcLsIALlpk…’)
    #3 /home/svt8c/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #4 /home/svt8c/public_html/wp-includes/plugin.php(544): WP_Hook->do_action(Array)
    #5 /home/svt8c/public_html/wp-cron.php(138): do_action_ref_array(‘woosea_create_b…’, Array)
    #6 {main}
    thrown inστο /home/svt8c/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 2206

    Feed start but stuck after adding some products, and not finish, never, stuck on processing.
    Please help
    Thank you.

    • This topic was modified 4 years ago by sintarta.
Viewing 15 replies - 16 through 30 (of 30 total)
  • supportadtribes

    (@supportadtribes)

    After updating the plugin to version 9.1.6 are you still seeing new errors appear in your WooCommerce fatal error logs and if so. What do they say?

    tomkor

    (@tomkor)

    After plugin update, I created a new feed with one product category and still feed generation stuck on processing.

    Thread Starter sintarta

    (@sintarta)

    After update to 9.1.6

    2020-11-19T17:59:05+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /home/svt8c/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php:2207
    Stack trace:
    #0 /home/svt8c/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2207): preg_replace('/>/', '>', Object(WP_Error))
    #1 /home/svt8c/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4477): WooSEA_Get_Products->woosea_get_products(Array)
    #2 /home/svt8c/public_html/wp-includes/class-wp-hook.php(287): woosea_continue_batch('FJI0ofjA6xNBwyi...')
    #3 /home/svt8c/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #4 /home/svt8c/public_html/wp-includes/plugin.php(544): WP_Hook->do_action(Array)
    #5 /home/svt8c/public_html/wp-cron.php(138): do_action_ref_array('woosea_create_b...', Array)
    #6 {main}
      thrown into /home/svt8c/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php in line 2207
    

    The same error, and stuck on proseccing.

    supportadtribes

    (@supportadtribes)

    9.1.6 was not the latest version, apologies. It should be 9.1.7, is that were you are on?

    tomkor

    (@tomkor)

    I tested on the version 9.1.7

    supportadtribes

    (@supportadtribes)

    Tomkor can you please share the content of your latest fatal error log?

    tomkor

    (@tomkor)

    Thread Starter sintarta

    (@sintarta)

    Is it possible that the error comes from a comma inside SKU?

    tomkor

    (@tomkor)

    Rather no. I tested on SKU Facebook and SKU like a product id. All the same result – processing stuck on 0%

    Thread Starter sintarta

    (@sintarta)

    Yes, it wasnt the comma..

    
    2020-11-20T18:04:44+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /home/svt8c/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php:2210
    Stack trace:
    #0 /home/svt8c/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2210): preg_replace('/>/', '>', Object(WP_Error))
    #1 /home/svt8c/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4477): WooSEA_Get_Products->woosea_get_products(Array)
    #2 /home/svt8c/public_html/wp-includes/class-wp-hook.php(287): woosea_continue_batch('lKh9qDAFCna3C5U...')
    #3 /home/svt8c/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #4 /home/svt8c/public_html/wp-includes/plugin.php(544): WP_Hook->do_action(Array)
    #5 /home/svt8c/public_html/wp-cron.php(138): do_action_ref_array('woosea_create_b...', Array)
    #6 {main}
      thrown μ?σα στο /home/svt8c/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php στην γραμμ? 2210
    
    • This reply was modified 4 years ago by sintarta.
    Thread Starter sintarta

    (@sintarta)

    Any Solution?

    supportadtribes

    (@supportadtribes)

    Unfortunately not. We cannot reproduce the issue at hand ourselves which makes it impossible for us to fix as we don’t know what to fix.

    Thread Starter sintarta

    (@sintarta)

    Hi again

    For me a solution is this:
    At line 2221 on woo-product-feed-pro/classes/class-get-products.php

    
    	//$category_path_skroutz = preg_replace('/>/', '>', $category_path);
    					//$category_path_skroutz = str_replace('>','>',$category_path);
    								
    		            //   	if(!is_object($category_path)){
    				    //	$product_data['category_path'] = $category_path;
    					//	$product_data['category_path_skroutz'] = $category_path_skroutz;
    					//	$product_data['category_path_skroutz'] = str_replace("Home >","",$product_data['category_path_skroutz']);
    					//	$product_data['category_path_skroutz'] = str_replace("&","&",$product_data['category_path_skroutz']);
    					//}
    

    By cancel these lines of code is working as i want.
    Except the sale price. It dint take the sale price from this “Advanced Dynamic Pricing for WooCommerce” plugin by AlgolPlus.

    Thank you

    • This reply was modified 3 years, 11 months ago by sintarta.

    With that change the category path you need to send to Skroutz no longer meets their requirements as they require to have the > in it.

    Thread Starter sintarta

    (@sintarta)

    Ok, i dont work with Skroutz.
    This is a feed for googleshopping.
    This happen because, i choose Greece?
    And for Sale price?

    Kind Regards

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘Feed creation stuck on processing’ is closed to new replies.