Question

I downloaded an updated module earlier and everything was going fine (except that the module wasn't working 100%) and I went to do some debugging. I started by comparing some folder from the old module with the updated module. Everything seemed to check out but there was still a mixed content error on the map page. So, as any novice who has no clue what NOT to do, I thought I would start by renaming a folder in our custom design folders from "unirgy" to "_unirgy" to somehow see if I could force it to load the default map.phtml file. This caused a

Fatal error: Call to a member function children() on a non-object in 
/home/lynsecom/public_html/store/app/code/core/Mage/Core/Model/Config.php 
on line 901

I went back and changed the folder name back to it's original name, but this error keeps coming up. I cannot get to store admin either - the same error pops up. I am clueless where to start because I just do not have a strong grasp yet of how Magento works. I am appreciative of any help I can get at this point.

Was it helpful?

Solution

To get past this fatal error, I'd suggest disabling the module that was causing you trouble.

  1. Navigate to /home/lynsecom/public_html/store/app/etc/modules/ and locate the module declaration file. It'll follow the naming convention [Package]_[Modulename].xml
  2. In that xml file, find the <active>true</active> node and change it to <active>false</active>

OTHER TIPS

Well, I think you should clean your cache through your admin and delete the folders in var/cache since the only thing that you might have done by changing the folder name is that the Config class cannot find the proper templates defined in the xml, they could have been cached.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top