Strange PHP error after upgrade

shopisfaction

New Member
Hi,

after the last update, we're getting an error with this traceback in the debug.log

The only solution is to disable and move the plugin to a different location temporarily.

Somebody has experimented something similar?

[21-Oct-2019 20:57:36 UTC] PHP Fatal error: Uncaught Error: Call to a member function add_to_cart_url() on string in /var/www/html/***/wp-content/plugins/alidswoo/core/filters.php:0
Stack trace:
#0 /var/www/html/***/wp-includes/class-wp-hook.php(286): adsw_filter_content_price('')
#1 /var/www/html/***/wp-includes/plugin.php(208): WP_Hook->apply_filters('', Array)
#2 /var/www/html/***/wp-includes/formatting.php(3709): apply_filters('the_content', '')
#3 /var/www/html/***/wp-includes/class-wp-hook.php(286): wp_trim_excerpt('', Object(WP_Post))
#4 /var/www/html/***/wp-includes/plugin.php(208): WP_Hook->apply_filters('', Array)
#5 /var/www/html/***/wp-includes/post-template.php(419): apply_filters('get_the_excerpt', '', Object(WP_Post))
#6 /var/www/html/***/wp-content/plugins/woo-open-graph/public/class-woo-open-graph-public.php(136): get_the_excerpt()
#7 /var/www/html/***/wp-includes/class-wp-hook.php(286): Woo_Open_Graph_Public->wog_opengraph('')
 

Avito

New Member
I just noticed that this happens on out of stock items.
You should go to Woocommerce -> Settings -> Products -> Inventory -> [Check]Hide out of stock items from the catalog
 
Top