APC and GoDaddy Hosting
Sometimes I just want to yell at GoDaddy for not playing nice. I rarely think it hears me. When developing a site using the economy hosting plan (and I should mention, I never will recommend GoDaddy for hosting) I discovered some fatal and intermittent errors. After doing some investigative research, I discovered the root of the problem was GoDaddy’s APC (Alternative PHP Caching). You’ll get these errors all the time:
Fatal error: Cannot call overloaded function for non-object in /home/XXXX/public_html/wp-includes/class-wp.php on line 529
You can easily check to see if you have APC enabled on GoDaddy by creating a phpinfo.php file (literally just phpinfo(); wrapped inside PHP markup). Load the phpinfo.php file in your browser and look to see if APC is visible. Delete the info file after you’ve checked the APC.
According to GoDaddy you can disable APC by making a php.ini file and including this line:
For me it was just easier to move the site to better hosting. Their economy plan is not really a savings anyway. Plenty of hosting companies out there are able to compete, including us!
Check out our hosting page for a line-up of Windows/Linux package information and cost.