Hi,
Thanks for using our plugin and reaching out to us.
We have been running and developing our plugin on PHP version 8.0.27 for a while now and not experiencing issues with is.
Can you try the following for us:
- Lower the default batch size of our plugin from the default 750 products per batch to a lower number, lets say 250? This is how you can do so: https://adtribes.io/batch-size-configuration-product-feed/
- Check if there are relevant errors in your WooCommerce fatal error logs between 14 and 18 June? This is were you can find those fatal error logs: https://woocommerce.com/document/finding-php-error-logs/
Hi,
Thank you for responding. The default batch size was 2500 (we have 100.000 products), we lowered this to 250 however we have a critical fatal error on 14, 15, 16, 17 and 18 june. After that we do not have any fatal errors.
This is the error we got on 14 june:
https://snipboard.io/vhtp0k.jpg
This is the error for 15, 16, 17 and 18 june:
https://snipboard.io/7eRrht.jpg
Could you help us with this? Thank you in advance
-
This reply was modified 2 years, 9 months ago by
verposhop.
Looks like PHP8 was installed without DOM support?
What do you mean with DOM Support? And should we stay on batch size 250? Thank you in advance!
-
This reply was modified 2 years, 9 months ago by
verposhop.
When you install PHP, in your case PHP8, you can chose what libraries are supported. Our plugin requires the DOM library to be installed as that is needed in order to be able to open and update XML files.
Your PHP7.4 probably was installed with the DOM library, that is why it is working.
If you have no idea to do this than I suggest you reach out to your hosting agency with the above request. They can probably help you.
Okay thanks we will try this! On which batch size should be put the settings? We have over 100.000 products.
That is hard to answer as that really depends on your hardware, server-settings and other resource heavy plugins. The default batch size is 750 products per batch. Perhaps you can put it on a 1000
We still get a fatal error when we installed PHP with Dom….
And what does the fatal error show now?
And these PHP8 extensions were enabled:
https://yourimageshare.com/ib/Oo425gW97Y
The error still suggests that DOM was not properly installed: https://www.php.net/manual/en/dom.installation.php
we have the same issue with PHP 8.0.
DOM/XML ist enabled.
we have disabled all plugins on staging site and test it only with newest WC, WP and Feed Plugin – but the result is the same. Stuck at around 70%.
we have lowerd the batch size, but also stucked at 70%.
any ideas?
Do the WooCommerce fatal error log of today show anything? This is where you can find them: https://woocommerce.com/document/finding-php-error-logs/
#11 /home/wp/disk/wordpress/wp-content/plugins/woocommerce/includes/wc-template-functions.php(150): wc_get_product()
#12 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(310): wc_setup_product_data()
#13 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#14 /home/wp/disk/wordpress/wp-includes/plugin.php(565): WP_Hook->do_action()
#15 /home/wp/disk/wordpress/wp-includes/class-wp-query.php(4690): do_action_ref_array()
#16 /home/wp/disk/wordpress/wp-includes/class-wp-query.php(3652): WP_Query->setup_postdata()
#17 /home/wp/disk/wordpress/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2610): WP_Query->the_post()
#18 /home/wp/disk/wordpress/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4765): WooSEA_Get_Products->woosea_get_products()
#19 /home/wp/disk/wordpress/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4690): woosea_continue_batch()
#20 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(308): woosea_create_all_feeds()
#21 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#22 /home/wp/disk/wordpress/wp-includes/plugin.php(565): WP_Hook->do_action()
#23 /home/wp/disk/wordpress/wp-cron.php(188): do_action_ref_array()