In Magento Enterprise 1.8 I am getting a particular error over and over again and I was wondering if someone else has had this problem and what they did to solve it.
The error is:
Invalid block type: Mage_CatalogInventory_Block_Qtyincrements
I am also seeing a lot of there:
Invalid block type: Mage_Navadmin_Block_Navadmin
When you attempt to instantiate a block object, if Magento can’t find the class it will log the error, not render the block, and move along.
This happens in a few places throughout the code base, but the most likely place is in
So, your two specific errors. Magento can’t instantiate a
That’s probably because in the layout that ships with 1.8 the core code tried to use a block that would instantiate a
This is a 1.8 bug. I’d contact Magento Enterprise support for a patch. As mentioned by @clockworkgeek it looks like the community edition suffered a similar problem. The patch in that thread is worth looking at for a fix, but I’d be wary of applying a patch meant for Enterprise Edition to Community Edition.
In your second error, Magento can’t instantiate a
There is no Navadmin module that ships with Enterprise 1.8. Based on the block name, that means there’s probably some block XML somewhere that looks something like
My best guess if someone, at some point, installed this extension on your site. It’s supposed to install files to (among other places)
Templates or XML layout files that reference the block are likely left on your system, but the actual class file that defines the block in
is missing.