Until two days ago, I had a Magento shop working. I then installed a security certificate, and now I get the error
addToChildGroup() on a non-object in /home/fiscalin/public_html/shop/app/code/core/Mage/Core/Block/Abstract.php
Here is exactly what I did -
1. Installed the Security Certificate - All non-magento pages on the site load and work without issue.
2. Went into Admin, Chose System->Configuration->Web
3. Set both Secure and Unsecure Base URLs to what they were, but changed http to https
4. Went to System->Index Management and Reindexed everything
5. Went to System->Cache Management and refreshed all of the caches
Now, the index and search pages appear to work (top navigation is missing similar to other similar issues posted here)
I have looked at all of the catalog.xml files, which are the stock files from a fresh install. I have not changed them, just copied them when I duplicated the default theme for my custom theme. After duplicating the default theme, I made most of my changes just in the CSS.
Since doing this, I have tried changing the settings back, reindexing, refreshing the cache, and uploading a few modified versions of catalog.xml.
I have also done a little fiddling with Abstract.php
Adding: echo var_dump($this->getParentBlock()); above $this->getParentBlock()->addToChildGroup($groupName, $this); returns NULL, so the parent block of what is trying to be added is NULL (producing the referred \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Non Object\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")
Adding: echo $groupName; above $this->getParentBlock()->addToChildGroup($groupName, $this); returns detailed_info.
What this looks like is happening is it\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’s trying to load the detailed_info of one of the two blocke specified in catalog.xml into a block, but can\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’t address the block.
I don\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’t know enough about how the whole thing works to figure out exactly what is going on and solve it, but hopefully someone here will.
I\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’m going to try a few other things (like switching to the default theme) but so far haven\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’t had much luck.
It\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’s just depressing that so many configuration changes (even in the admin) cause Magento to break.
I wish there was something else that offered the features my customer wants that wasn\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’t so complex and unstable.