-
AuthorPosts
-
August 7, 2019 at 10:57 pm #1125740
Hello,
I have spent the past few days trying to figure this out but have no luck. Hoping someone can help me here.
The single product pages will not load on my client’s site. I am using the ALB and the product snippets. When I switch back to the classic editor the single product pages do work….
ALB PAGE: https://www.vernonjazz.com/wordpress/jazz-shows/dan-brubeck-from-vancouver/
Default Editor PAGE: https://www.vernonjazz.com/wordpress/jazz-shows/piel-canela-the-gypsies/I have disabled all plugins except woocommerce and I still have the same error. When I change to 2019 Theme the pages load up without an issue.
I contacted the host and they claim it is a problem with the theme and then cited this notice
“Notice: Trying to get property ‘options’ of non-object in /home/vernonjazzdustin/public_html/wordpress/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66”
If anyone has an idea please let me know!
Latest version of enfold and all plugins and themes are up to date. PHP version 7.3.
August 8, 2019 at 8:52 am #1125829Hello,
I have narrowed it down to being an issue with the Blog Posts element being used on the single product page. I had it on my pages to display some related products based on category.
The element will break the page layout and cause the page to appear blank if you choose “Display entries from a custom taxonomy” and then choose Product Cat as the entries that you would like to display.
Of all the Blog Style options only Grid Layout will work with Display entries from a custom taxonomy and Product Cat selected. See screenshot below for examples
Hopefully, there will be a fix for this in an upcoming enfold release!
August 11, 2019 at 1:38 am #1126554Hi,
Sorry for the late reply, and thanks for the login and screenshot, we have seen this error a couple of times before and disabling the autoptimize plugin and enabling Enfold Theme Options > Performance > Disable Template Builder Elements > Always load all elements solved. Please give this a try.
I tried copying one of your products to my localhost and then added a blog post element and it worked without error, I also tried the different blog layouts from your image and changing the “Disabling of template builder elements” to “load used elements only” and this also worked.
I see that you are also using “FooEvents for WooCommerce” so I wonder if this is part of the conflict, as you know from the message in your product page back end:Please note that the Advanced Layout Builder for products will not work with all WooCommerce Extensions
I looked at your products but didn’t find one with a blog post element, is this page with the error still available to see?
Best regards,
MikeAugust 12, 2019 at 5:03 pm #1126844Hey Mike,
Thanks for the reply! At the time I wrote my original post I did not have any other plugins active except woocommerce. So the problem was still happening Autoptimize and Fooevents were not part of the problem. I only enabled them after I figured out the fix to this issue. I have since launched the site.
I had also done the Always Load all Elements thing you suggested and disabled cloudflare. Same problems still persisted.Unfortunately, I can’t show you the error because the site is live now, but just letting you know the steps I followed to reproduce and troubleshoot.
Cheers,
DAugust 13, 2019 at 7:04 am #1127089Hi,
Thanks for the feedback, although I’m not clear what your fix was, but glad that it is. I tried to reproduce the error on my localhost before I replied, but could not, so this is why I made the recommendations.
Please let us know should you experience this again.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.