• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Trying to upgrade, failed...

#1
Trying to upgrade 1.5 to 1.5.1. It gets to rebuilding templates (there were no problems before 1.5.1) and fails,


Error
PAGE_CONTAINER - Line 9: Invalid condition expression

I have no clue where to even begin to start looking, and I can't get into the ACP to try to revert the template because it says I need to complete the upgrade to do so.
 

Chris D

XenForo developer
Staff member
#2
Set this in config.php:
PHP:
$config['checkVersion'] = false;
(Remember to delete the line when you are done)

Now go into the Admin CP and disable all add-ons, and try again.

At the moment I'm assuming it's a faulty template modification via an add-on rather than a manual template you edited in your style.

If it still doesn't work, indeed you may need to revert that template, but I would certainly try disabling your add-ons first.
 
#3
Set this in config.php:
PHP:
$config['checkVersion'] = false;
(Remember to delete the line when you are done)

Now go into the Admin CP and disable all add-ons, and try again.

At the moment I'm assuming it's a faulty template modification via an add-on rather than a manual template you edited in your style.

If it still doesn't work, indeed you may need to revert that template, but I would certainly try disabling your add-ons first.
That worked, thanks! Now to attempt to figure out what plugin it was...