Bug Fix – WP Theme Reverting to Kubrick


Warning: Invalid argument supplied for foreach() in /home/soulrinse/www/www/wp-content/themes/awfulcool/archive.php on line 19


Warning: array_reverse() expects parameter 1 to be array, null given in /home/soulrinse/www/www/wp-content/plugins/magic-fields/get-custom.php on line 306

Warning: sort() expects parameter 1 to be array, null given in /home/soulrinse/www/www/wp-content/plugins/magic-fields/get-custom.php on line 307

Warning: Invalid argument supplied for foreach() in /home/soulrinse/www/www/wp-content/themes/awfulcool/archive.php on line 25

I noticed today for the second time since the relaunch that my site was loading under the default WordPress theme, and nothing worked. My first thought was that it’s a bug; my second was that someone was hacking it just to annoy me.

But then a little Google informed me that this guy had the same problem I did, and figured it out over a year ago. If you have this problem, here’s the solution.