Jump to content
Sign in to follow this  
Denis Ciumbargi

class WP_Error could not be converted to string in

Recommended Posts

Denis Ciumbargi    3
Denis Ciumbargi

Hi, i am posting this here as asked by Ellen.

 

Here is the problem i am having with breadcrumbs in this plugin  I get a fatal error on products page when is activated. I deactivated the WC Breadcrumbs my sections and product page can be open again. Otherwise the product page is not loaded and delivers an error saying something like 

 

Catchable fatal error: Object of class WP_Error could not be converted to string in .../wp-content/plugins/woocommerce/templates/shop/breadcrumb.php on line 120

I have reactivated now the WC Breadcrumbs section so that the team can see it in "action".

 

Here is the link for a test  product.

http://sansapentrusansa.org/magazin/avatare/sansapentrusansa/

 

 

 


Where there is love, I'll be there.

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

Hi Denis,

 

Thanks for posting the link to the page. It doesn't look like it is an issue with the WooCommerce for Pagelines plugin because all that is doing is using the woocommerce_breadcrumb() function.

 

It looks like it is a WooCommerce problem, maybe related to the special characters though I can't be sure.  Sorry to send you to another forum, but I wanted to see if there was something I could do but best to post in the WooCommerce Community Forum and post the error there.

 

Let me know what the response is, just curious if it is the special characters.


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
Denis Ciumbargi    3
Denis Ciumbargi

@ellenmva had the post there 24 hours before putting it on your plugins page.

 

Their answer goes like this

 


 "Some code related to breadcrumbs in your site is loading too soon, or without the proper variables available - or at least that's my best guess at the moment. An easy way to determine if it's a plugin or theme issue is to switch to TwentyEleven or TwentyTwelve and see if the problem goes away."

 

The thing is that it works if the WC breadcrumbs section is disabled... I can offer you access as a admin user if you need to have a look around. must be something i done maybe and by this i mean might not be compatible with other plugins or residuals from other plugins?


Where there is love, I'll be there.

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

Hmm, changing themes won't help since it has to do with Pagelines. Set up an admin account for me and email the username and password to ellen@elsue.com.

 

Thanks.

Ellen


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
Denis Ciumbargi    3
Denis Ciumbargi

Sent. Might wanna check spam folder also just in case.

 

Thank you for the support.


Where there is love, I'll be there.

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

Hi Denis,

 

I checked a few things out but then I deactivated the WooCommerce for Pagelines plugin and activated the TwentyTwelve theme and the error is still there.  So it's not Pagelines causing the error.  It must be a plugin confilct or something weird with WPML and WooCommerce. 

 

To find out if it is a plugin conflict, disable all plugins except WooCommerce. If the error is gone then start to reactivate plugins to find out which plugin.

 

If the error is still there after you disable all the plugins, change the theme to TwentyTwelve and see if still there. If it is, then let WooCommerce support know, they may need to take a look at your site. Let them know that you are using WPML, that may help them troubleshoot.

 

Hope that you are able to get an answer.

 

Ellen


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
Denis Ciumbargi    3
Denis Ciumbargi

@ellenmva Ok, thank you so much Ellen.

 

Sorry i disturbed you. The only thing that mae me think is to do with the WC for Pagelines is that if i disable it everything works. Check my site again and see that if disabled the pages are ok...

 

I will Speak with WPML and WooCommerce for more.... Thank you again.


Where there is love, I'll be there.

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

Hi Denis,

But if you disable to WC for Pagelines and then change the default theme to TwentyTwelve the error is still there. My plugin isn't causing it then because it isn't activated and neither is Pagelines. That's why WooCommerce said to change the theme back to TwentyTwelve to rule out Pagelines and WC for Pagelines doesn't work without Pagelines.

The best way to troubleshoot an error is to change the theme to TwentyTwelve, see if error is still there, if so disable all plugins except the one that is throwing the error, in this case WooCommerce and then reactivate each one and check till you find the one that produces the error.

Ellen

Sent from my iPad using Tapatalk HD


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
Jenny    33
Jenny

Please let us know if you still need assistance, otherwise I will close this topic in 7 days. Thanks!


Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • caspersjan
      By caspersjan
      Hello, 
      I am running into problems with the Woocommerce for Pagelines plugin, version 1.3.1. As soon as I activate it, the Shop page is rendered completely blank, even the Editor disappears. I have no other plugins active except Pagelines Updater and DMS Professional Tools. Could I be doing something wrong or is there an incompatibility? I suspect the former because I'm sure Woocommerce for Pagelines must be compatible with Woocommerce... It looks so promising and I'd love to use it! I must say that I am new to Woocommerce in general, but I tried every setting I could think of and work out and simply cannot get it to work with Woocommerce for Pagelines. My site in question is www.knetgut.de.
      I hope you can shed light on this and I appreciate your assistance! Yours faithfully, Jan Caspers.
    • adminuni
      By adminuni
      Hello!
       
      I am having trouble adding variables to a product. Couple of my products contain many variables and noticed that every time I update the product, variables all become default, or the stock quantity and price that I added become blank.
       
      I tried deleting some of these variables and readded them, which I thought was the only solution, but even when these variables work, when I check back later, other variables become blank. It has been very frustrating and time-consuming, is there any solution to this problem?
       
      (I tried deactivation plugins but that did not work, I tried duplicating the product and that did not work as well)
       
      http://main.4cats.com/
      for products: 'Party' and 'Glow in the dark splatter party'
       
      I will send the login info.
       
      Thank you so much in advance!
    • netage
      By netage
      Hi,
       
      How do I style the featured products?
       
      Regards,
      Cait
       
    • outtareach
      By outtareach
      I know this may be simple but seems nothing is working.  I changed columns from 4 to 6 in the shortcode and I still see 4 columns.  I also changed the image sizes to fit with the 6 columns and nothing changed.  cannot find the php code in functions that people are talking about changing.  Anyone know of any way to add more columns thus making the images smaller per line?
    • outtareach
      By outtareach
      My products are not displaying correctly and I cant see the content that is hindering them from working because its just blank data.  I can select it but no text/content displays.  any help would be great because I am finally starting to get this together.
       

×