I am using a plugin for woocommerce to search for products. The search box works great, but the search results page gives the following errors:
Notice: Trying to get property ‘rewrite’ of non-object in /home/mailx/public_html/wp-content/themes/enfold/framework/php/class-breadcrumb.php on line 380
Notice: Trying to get property ‘labels’ of non-object in /home/mailx/public_html/wp-content/themes/enfold/framework/php/class-breadcrumb.php on line 392
Notice: Trying to get property ‘name’ of non-object in /home/mailx/public_html/wp-content/themes/enfold/framework/php/class-breadcrumb.php on line 392
The site is https://www.mailboxesbybathx.com/
Hey,
Thanks for contacting us!
I tried searching on your website however I cannot see any notice on results page I attached in private content field below. Have you figured it out already?
Best regards,
Yigit
No, I am still getting the error… see attached… https://ibb.co/B46G3hR
There are two search fields use the one on the side bar on this page https://www.mailboxesbybathx.com/about-us/
Oh now I figured it out! It was something in the functions.php file