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, 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

Magento Forum

Fatal Error Undefined Class Constant
Sr. Member
Total Posts:  126
Joined:  2008-10-27

I recently made a copy of my existing Magento site, backed up the db and uploaded it.
After the usual hours of fighting with the code it is now functioning, front end looks fine and so does the backend apart from when I click on a product to edit it I get…

Fatal Error Undefined Class Constant XML_Path_item in app/code/core/Mage/adminhtml/block/catalog/product/edit/tab/inventory.php

Now I’m not sure what this would be as it’s an exact copy of the functioning site?
Anyone know how to fix this.

Of course I could try and upgrade through Connect but that just seems to sit and take hours and never finish and if I navigate away then it breaks the site completely.

We are using version 1.8

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