Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

magento and lazzymonks wordpress integration error. 
 
Federico Vezzoli
Jr. Member
 
Total Posts:  25
Joined:  2009-07-23
 

hi, i’ve already installed magento with the lazzymonks integration for wordpress, and prettymuch is working well.
today I was trying to create a new cms page, but when i’m trying to change the layout of the page and set it in single column I receive this error:

Fatal error: Uncaught exception ‘Exception’ with message ‘Notice: Trying to get property of non-object in /var/www/vhosts/callemarconi.com/httpdocs/magento/wordpress/wp-includes/theme.php on line 696’ in /var/www/vhosts/callemarconi.com/httpdocs/magento/app/code/core/Mage/Core/functions.php:239 Stack trace: #0 /var/www/vhosts/callemarconi.com/httpdocs/magento/wordpress/wp-includes/theme.php(696): mageCoreErrorHandler(8, ‘Trying to get p...’, ‘/var/www/vhosts...’, 696, Array) #1 /var/www/vhosts/callemarconi.com/httpdocs/magento/wordpress/wp-includes/template-loader.php(36): get_page_template() #2 /var/www/vhosts/callemarconi.com/httpdocs/magento/wordpress/wp-blog-header.php(16): require_once(’/var/www/vhosts...’) #3 /var/www/vhosts/callemarconi.com/httpdocs/magento/index.php(59): require(’/var/www/vhosts...’) #4 {main} thrown in /var/www/vhosts/callemarconi.com/httpdocs/magento/app/code/core/Mage/Core/functions.php on line 239

i reallt don’t understand why.
magento and wordpress doesn’t have a function with the same, i really don’t understand what’s the clue of this error.

in the index file of magento i have this 2 string for make the wordpress work.

#define(’WP_USE_THEMES’, true);
#require(’./wordpress/wp-blog-header.php’);

if I comment them out everything works good, but the wordpress doesn’t load, obviusly.

any advice?

thanks

Federico

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top