MyBB Community Forums

Full Version: problem with upgrade (1.2.11 to 1.2.12) [SOLVED]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I backed up the database, replaced the files from the zip file and followed the wiki. I ran the upgrade script, all looks good, but when I try to go to my forum, I see the following error:

Fatal error: Call to undefined function iif() in /var/www/localhost/domain/forum/global.php(340) : eval()'d code on line 1

Any ideas how to get past this?

Thanks!
hanji
This is a problem with your theme
ah.. I saw that iif() was in the old function.php (probably from the theme you mentioned). I brought it over.. and it looks good. FYI, I'm using Black Rose theme.

Thanks!
hanji