Closed StijnCompaboxBV closed 3 years ago
@StijnCompaboxBV can you provide more information?
Tried to reproduce this locally with the provided information, but was unable to get to the same conclusion. We're really going to need more information here to make this a viable bugreport.
Hi Djennez,
Thanks for the quick reply.
wordpress debug.log: [13-Jul-2021 14:40:39 UTC] PHP Deprecated: Required parameter $args follows optional parameter $depth in /var/www/vhosts/opumus.nl/httpdocs/wp-content/themes/salient/nectar/helpers/nav-menus.php on line 137 [13-Jul-2021 14:40:39 UTC] PHP Deprecated: Required parameter $args follows optional parameter $depth in /var/www/vhosts/opumus.nl/httpdocs/wp-content/themes/salient/nectar/helpers/nav-menus.php on line 399
error log generated by hosting provider (95% of the file is something like below): [Tue Jul 13 16:40:31.196048 2021] [fcgid:warn] [pid 30278:tid 140559482009344] (32)Broken pipe: [client 95.99.29.163:55762] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://opumus.nl/wp-admin/edit.php?post_type=product [Tue Jul 13 16:41:14.858867 2021] [core:error] [pid 30278:tid 140559523972864] [client 95.99.29.163:56398] End of script output before headers: admin-ajax.php, referer: https://opumus.nl/wp-admin/edit.php?post_type=product [Tue Jul 13 16:41:15.939812 2021] [fcgid:warn] [pid 30148:tid 140559641470720] (104)Connection reset by peer: [client 95.99.29.163:56224] mod_fcgid: error reading data from FastCGI server, referer: https://opumus.nl/wp-admin/post.php?post=2044&action=edit [Tue Jul 13 16:41:21.510368 2021] [fcgid:warn] [pid 30278:tid 140559591114496] [client 95.99.29.163:55970] mod_fcgid: read data timeout in 45 seconds, referer: https://opumus.nl/wp-admin/post.php?post=2047&action=edit [Tue Jul 13 16:41:21.510414 2021] [core:error] [pid 30278:tid 140559591114496] [client 95.99.29.163:55970] End of script output before headers: admin-ajax.php, referer: https://opumus.nl/wp-admin/post.php?post=2047&action=edit
error log in browser: Deprecated: Required parameter $args follows optional parameter $depth in /var/www/vhosts/opumus.nl/httpdocs/wp-content/themes/salient/nectar/helpers/nav-menus.php on line 137 Deprecated: Required parameter $args follows optional parameter $depth in /var/www/vhosts/opumus.nl/httpdocs/wp-content/themes/salient/nectar/helpers/nav-menus.php on line 399
I previously used some plugins for debugging, but not anymore. If more information is needed, I think i could use some instructions.
The deprecated warnings are not part of your problem I suspect. The core:error
and the timeout message are likely related, but they don't provide any information. You'll need to get callstacks
from the PHP error logs at the moment that you can replicate the 500 errors. The way to get to these differ per host.
Is this of any use?
That looks more like it originates in WooCommerce, so I'd suggest contacting them about this particular error.
Yes that's what i thought after seeing this. Thank you very much for your help
If I do find some information that is relevant to you, i will let you know
Hi folks, I have come across a 500 error that is only present when I have Yoast enabled and I use quick view on a PLP - very easily repeatable. Recipe is: latest versions of Flatsome theme, WooThumbs for WooCommerce by Iconic plugin & Yoast. Enable all three and a 500 error is thrown when visiting the following URL: /wp-admin/admin-ajax.php Stack trace here: [Mon Jul 26 16:59:33.455105 2021] [php7:error] [pid 7864:tid 2108] [client 127.0.0.1:50183] PHP Fatal error: Uncaught Error: Call to a member function is_on_sale() on null in C:\xampp\apache\htdocs\wordpress-shelley\wp-content\themes\flatsome\woocommerce\single-product\sale-flash.php:25\nStack trace:\n#0 C:\xampp\apache\htdocs\wordpress-shelley\wp-content\plugins\woocommerce\includes\wc-core-functions.php(345): include()\n#1 C:\xampp\apache\htdocs\wordpress-shelley\wp-content\plugins\woocommerce\includes\wc-template-functions.php(1609): wc_get_template('single-product/...')\n#2 C:\xampp\apache\htdocs\wordpress-shelley\wp-includes\class-wp-hook.php(292): woocommerce_show_product_sale_flash('')\n#3 C:\xampp\apache\htdocs\wordpress-shelley\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)\n#4 C:\xampp\apache\htdocs\wordpress-shelley\wp-includes\plugin.php(484): WP_Hook->do_action(Array)\n#5 C:\xampp\apache\htdocs\wordpress-shelley\wp-content\themes\flatsome\woocommerce\content-single-product-lightbox.php(49): do_action('woocommerce_bef...')\n#6 C:\xampp\apache\htdocs\wordpress-shelley\wp-content\plugins\w in C:\xampp\apache\htdocs\wordpress-shelley\wp-content\themes\flatsome\woocommerce\single-product\sale-flash.php on line 25, referer: https://local.shelleylouisedesign.co.uk/product/stainless-steel-wax-warmer-oil-burner/
I'm currently using the latest versions of these plugins and still getting this issue.
October 2022 and it still seems an issue, WooCommerce v7.0.0 and Yoast SEO v19.8.
With Yoast SEO enabled the products overview (../wp-admin/edit.php?post_type=product) shows an Error 500. With Yoast SEO disabled, everything works without any issues.
Please give us a description of what happened.
Error 500 is returned when using Yoast with Woocommerce.
I used the "Health Check & Troubleshooting" plugin to disable all plugins and themes.
I'm overseeing multiple websites, all hosted at a single hosting provider. Every website where Yoast and Woocommerce are both activated, these error 500's occur. All these websites are completely different builds.
error log example (error 500):
error 500 messages:
Please describe what you expected to happen and why.
No error 500? :)
How can we reproduce this behavior?
Technical info
If relevant, which editor is affected (or editors):
[ ] Classic Editor
[ ] Gutenberg
[ ] Classic Editor plugin
Which browser is affected (or browsers):
[x] Chrome
[x] Firefox
[x] Safari
[?] Other
Used versions
Edit: removed private info (IP addresses)