Upgrading the blog & error in Travelogue theme
With all the crap that’s been going on around lately I didn’t really have time to take care of this blog. However, the time has come – this one has been upgraded and updated.
While I was installing the new Travelogue theme, ran into Warning: Invalid argument supplied for foreach() in …[cut]…/wp-admin/upgrade-functions.php on line 623 error. While fixing the issue – killed the blog, killed the database, everything was pretty much in ruins. Thanks to smart ass I am – I got a back up on Amazon S3. So the database is restored, updated version of WordPress and new template are running, all is set.
BTW, the solution to this error is not on Wordpress web site. It’s posted here and for sake of keeping up the good theme (hey, one of my favorite porn sites use it) I’m copying the solution here.
The solution is easy:
1. Open functions.php in travelogue2 theme folder
2. Edit line 102 from: $table_name = $table_prefix . “travelogue2″; to $table_name = $table_prefix . “t2″; (you have to change travelogue2 with t2)
2. Save, that’s all.
Thanks, Google