Hi Muva,
Unfortunately this error will occur if you are using a WordPress plugin that starts a PHP session. As it stands, there is no way around this, other than to not use the plugin that is starting a session!
james, thanks for the inquiry. how can i find out which plugin that is?
this is the list of active plugins.
Additional Image Sizes (zui)
Akismet
Contact Form 7
Dynamic Widgets
Select Featured Page Widget
Featured Page Widget
Google Analytics for WordPress
Select Google XML Sitemaps
Google XML Sitemaps
Limit Login Attempts
Mage/WP Integration
MailChimp
Really Simple CAPTCHA
ShareThis
Simple Newsletter Signup
W3 Total Cache
WordPress SEO
WPML CMS Nav
WPML Multilingual CMS
YouTube widget
I’d say it was most likely the WPML plugins
What aspects of MWI are you looking to use?
i want to display the customer’s cart on the WP site…
if i turn of both WPML plugins the error is staying though…
You’re stuck then! I was going to suggest disabling the magento sessions from loading, but you’ll need them for that.
Unfortunately, if both platforms needs sessions to be running, there’s no way to integrate them in this manner.
You could however write an API for magento, and fetch that via AJAX.
Edit: I’d recommend disabling all (except MWI) and enabling 1 by 1 to see which causes the issue.
even with all (!) plugins turned off i get an error:
Fatal error: Call to undefined function the_block() in /homepages/42/d428577955/htdocs/site/wp-content/themes/wildspartan/header.php on line 143
with line 143 being this
<?php the_block('cart_sidebar');?>
Yeah, but that’s because you disabled MWI as well by the looks of it!
yep, sorry. was by mistake. went thru all of them aaaaaaand
found the plugin with the session, its “Simple Newsletter Signup”…
but now i have put some products in the cart here: but they are not showing up here
Log in to Magento admin, go to System > Configuration > Web
Set the cookie path to “/”
and the cookie domain to “.yourdomain.com”
(without the quote marks)
Then clear your var/session and var/cache folders.
Then clear your browser cookies.
Then try again!
yes, that did the trick! great support james! THX!!!
one last question: whats the block called u can see here https://www.dropbox.com/s/68tzwah3beini0d/xxx.png ?
Not sure on that one, looks like a custom block – often called topcart or something like that, but depends on the theme! Check the page.xml layout files
ok, thank you!
once again, massive support here!