The other day, I moved some enhancements for a client site from our development site to the live site. The proces went reasonably smoothly however, after some testing by the client, it transpired that the Ship page in the Magento order administration didn’t render completely.
There was no error in the log or visible on the page itself. A closer look at the page source revealed a Fatal PHP error about a a method on a non-object. So I added some debug statements to the page code – it was a loop that went through the shipping methods available in the system – to see where it was breaking.
It turns out that it was bailing on a certain shipping extension that was uninstalled since we ended up not using it. The extension files were gone when I checked, there was no xml file left or any other file.
So what was the problem?
I remembered I had a similar issue a while back so I looked into the
core_config_data table and sure enough, there were several config keys from the shipping extension left but their values were blank.
Once I manually deleted those keys from the database table, everything worked again.
Originally published on magebase.com. Copyright © 2010 Magebase - All Rights Reserved.