this has probably to do with either categories or tags not yet being created for the new site.
if you like, you could locate this file ‘/core/library/class.template.php’ in your ‘platform’ theme folder, and paste the code into a http://wordpress.pastebin.com/ and post the link to it here; someone might have a look at it.
Thanks! Although the site does have tags and categories (I’m using the Suffusion theme currently), it’s possible that the preview wasn’t able to find that information.
(Sorry, coding failboat alert–the link is in the next post down.)
Here’s the pastebin code from my ‘/core/library/class.template.php’ file in the Platform theme folder. The site currently does have categories and tags (I’m using the Suffusion theme right now), but maybe the preview didn’t read them?
Class Template PHP file
with tags and cats was only a guess;
this ‘foreach’ warning seems to have to do with some (print) areas which you would set in the theme options – looks unsuspicious enough to me.
Try re-downloading the theme files..
ww.wp.xz.cn has been having issues with incomplete files in some of the template files.
This specific error is because the theme isn’t able to read a function that exists in the
config.templates.php file.
Also, check and make sure the file ‘config/config.templates.php’ file is in the theme.
(If not, this is def. a problem with the ww.wp.xz.cn servers.)
I am having the same problem. I checked the directory and the file exists. Any other ideas? Thank you, DMK
I’m having the same problem, has anyone figured this out?
Upgrading to PHP 5.x solved it.