mildred73120
Forum Replies Created
-
Forum: Plugins
In reply to: Woocommerce Product Variation Add to Cart Button MissingI’m not too good at finding codes. Could you please tell me how to get to the code you referenced below? Do I need to find it through my cPanel or where and what path I need to take? Thank you so much!
For anyone else with this issue, the culprit was this line of code:
‘$(‘a[href*=#]:not([href=#], a.vc-carousel-control, a.vc_carousel-control, .wpb_tabs_nav a, a.acomment-reply.bp-primary-action)’).click(function() {‘
Changed to:
‘$(‘a[href*=”#”]:not([href=”#”], a.vc-carousel-control, a.vc_carousel-control, .wpb_tabs_nav a, a.acomment-reply.bp-primary-action)’).click(function() {‘Forum: Plugins
In reply to: [Offers for WooCommerce] Fatal error on Woocommerce updateProblem solved! I followed the solution given by Abland as follows:
“I upgraded Woocommerce today to version 2.6.0 and all product pages worked fine but every other page on the website – cart, contact, about, etc – all whitescreened.
Debug showed the following error:
Fatal error: Call to a member function is_type() on boolean in /absolute/path/to/wp-content/plugins/offers-for-woocommerce/public/class-offers-for-woocommerce.php on line 809
That line is:
if ($product->is_type(‘variable’) && is_single()) {I edited as follows which seems to have corrected the whitescreen and fatal error:
if ($product->product_type == ‘variable’ && is_single()) {Now I get a notice:
Notice: Trying to get property of non-object in /absolute/path/to/wp-content/plugins/offers-for-woocommerce/public/class-offers-for-woocommerce.php on line 809But the site works again now.”
THANKS Abland!
Forum: Plugins
In reply to: [Offers for WooCommerce] Fatal error on Woocommerce updateI updated today and now I can no longer access my home page or any of my pages except the product pages. I get this message:
Fatal error: Call to a member function is_type() on a non-object in /home2/auntless/public_html/wp-content/plugins/offers-for-woocommerce/public/class-offers-for-woocommerce.php on line 809
I’m pretty new at this, so I really need some help, please.
Thank youMy website:
https://www.auntlessiesbooksandcollectibles.com