tarka tarka - 3 months ago 19x
PHP Question

Magento PHP Fatal error: Class 'XXXXXX' not found in Mage.php on line 516

I really don't know anything about Magento but a friend installed an extension in their magento store that would not uninstall through the admin console. So I went onto the server and manually deleted all the files and folders relating to the extension.

The good news is that the front end of the site is now working again. However when I try to sign into the admin console, the admin dashboard comes up blank. On inspecting the logs I found that the

file seems to be looking for the extension Helper Data and can't find it. I have found a couple of other posts relating to this exact problem except they are posted by extension developers who are having problems due to not placed the Helper in the correct folder.

I need to know how Mage.php is referencing this file? How do I delete the reference so that Mage.php no longer expects to find this file?


Either a layout references a block whose module-name is not declared in some modules config.xml or some block/template references a helper which is not declared too.

<block type="company_modulename/blockname"
       template="blockname.phtml" />

Take care to have at least an empty Data helper for each module using $this->__('string') implicit helpers for translation.