Reply To: Ptoblem with woo and with posts

#20997
BernieG2017
Participant

Hi – Here is more information on the errors – I rolled back to Woocommerce 3.9 from 3.91 – and now there are all of these errors.

The problem is you can’t read posts that are current.

###
[29-Jan-2020 22:34:32 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_product() in /home/sewhapp2/public_html/wp-content/themes/babystreet/incl/woocommerce-functions.php:907
Stack trace:
#0 /home/sewhapp2/public_html/wp-content/themes/babystreet/incl/woocommerce-functions.php(869): babystreet_get_effective_gallery_type_setting()
#1 /home/sewhapp2/public_html/wp-includes/class-wp-hook.php(288): babystreet_apply_effective_gallery_type_setting(Object(WP))
#2 /home/sewhapp2/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
#3 /home/sewhapp2/public_html/wp-includes/plugin.php(544): WP_Hook->do_action(Array)
#4 /home/sewhapp2/public_html/wp-includes/class-wp.php(742): do_action_ref_array(‘wp’, Array)
#5 /home/sewhapp2/public_html/wp-includes/functions.php(1255): WP->main(”)
#6 /home/sewhapp2/public_html/wp-blog-header.php(16): wp()
#7 /home/sewhapp2/public_html/sapp-wp-signon.php(12): require(‘/home/sewhapp2/…’)
#8 {main}
thrown in /home/sewhapp2/public_html/wp-content/themes/babystreet/incl/woocommerce-functions.php on line 907
###