WordPress.org

Ready to get started?Download WordPress

Forums

Magento WordPress Integration
Error after inserting shortcode into post (5 posts)

  1. AllanDummer
    Member
    Posted 1 year ago #

    After inserting the shortcode and saving an article I get the following error - PHP Fatal error when I try to open the post again for editing : Class 'Mage' not found in /usr/www/users/*****/wp-content/plugins/magento-wordpress-integration/inc/mwi-shortcodes/inc/shortcode-products.php on line 9. The post however does display correctly in the front end.

    http://wordpress.org/extend/plugins/magento-wordpress-integration/

  2. jamesckemp
    Member
    Plugin Author

    Posted 1 year ago #

    That's odd, it should be loading anything Magento related in the back end. Can you get back into the edit screen after saving?

  3. AllanDummer
    Member
    Posted 1 year ago #

    No I can't get back into the edit screen for that post but it does load perfectly in the front end - http://gosselin.co.za/2012/03/water-moving/. Had a thought. I think the server path to the magento site causes WordPress to ignore/change it and not load the class. That server path is /usr/www/*****/galeriephoto.co.za - Those dots may be the problem. I'll get the server guys to change it and come back to you.

  4. AllanDummer
    Member
    Posted 1 year ago #

    Nope, the server path is not the problem. Still getting the same PHP error when I try to edit the post after inserting the shortcode.

  5. lennypeng
    Member
    Posted 1 year ago #

    I'm having the same issue after purchasing your extension. Please let me know how to solve this issue. Thanks

    Fatal error: Class 'Mage' not found in /www/web/***/wp-content/plugins/magento-wordpress-integration/inc/mwi-shortcodes/inc/shortcode-products.php on line 9

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.