Enable WP_DEBUG – see whats output on that page instead of the error code. Or check server error logs.
Thread Starter
sergc
(@sergc)
Enabled debug. Nothing is shown (ERR_EMPTY_RESPONSE in Chrome).
WP log in wp-content contains only notices.
Apache log has a large number of notices, but I can’t tell if they are related.
[Tue Apr 04 14:57:26.916516 2017] [core:notice] [pid 1182] AH00051: child pid 6510 exit signal Segmentation fault (11), possible coredump in /etc/apache2
I have tried disabling plugins, etc.
-
This reply was modified 9 years ago by
sergc.
What host is this? You could try them – 520 is a catch all error when something on the server goes wrong. Without a PHP error message relating to our code I cannot confirm if this is an actual bug or not.
Thread Starter
sergc
(@sergc)
I’m running on DigitalOcean. Everything has been fine for months. It definitely has to do with the update.
Can I just overwrite the plugin files in directory to rollback or will it clash with new database or something?
-
This reply was modified 9 years ago by
sergc.
You can do that but it would be good to find out whats causing the breakage first or you’ll be stuck.
Thread Starter
sergc
(@sergc)
Ok, i’m really trying to narrow things down.
I can’t visit products pages, but I realized that I can look at stock notices. I know I have items that are out of stock. When I go to the page, it doesn’t display any items and there is an error:
Fatal error: Call to a member function get_sku() on boolean in /var/www/html/wp-content/plugins/woocommerce/includes/admin/reports/class-wc-report-stock.php on line 86
Thread Starter
sergc
(@sergc)
There’s also a notice on my product page.
Notice: WC_Product::get_upsells is deprecated since version 3.0! Use WC_Product::get_upsell_ids instead. in /var/www/html/wp-includes/functions.php on line 3829
Thread Starter
sergc
(@sergc)
Another notice on “Category view”:
Notice: id was called incorrectly. Product properties should not be accessed directly. Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4137
You said you had disabled other plugins? If you can see:
> Notice: WC_Product::get_upsells is deprecated since version 3.0! Use WC_Product::get_upsell_ids instead. in /var/www/html/wp-includes/functions.php on line 3829
That would be from something you have installed?
Thread Starter
sergc
(@sergc)
The notice, I don’t know. Will keep looking.
What about the fatal error?
That I can see would happen if the product it’s trying to get returned false instead of a product object.
I’m not sure if thats related to a plugin however.
Thread Starter
sergc
(@sergc)
Narrowed it down. My problem was the Abandoned Cart Lite by Tyche Softwares.
Thread Starter
sergc
(@sergc)
Faced other issues and had to disable WooCommerce Mix and Match by WooThemes as well.