Jump to content
  • Status: Fixed

I'm getting [[Template forums/front/index/forumRow is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] on my page. I tried everything short of go back to the last backup before I upgraded.

image.png

User Feedback

Recommended Comments

Miss_B

Clients

What version did you upgrade from? Additionally, can you check the server error log and see if there are any recent messages pertaining to this? But first give the Recovery Mode in the below guide a try and see if it would help:

FeigelInc

Clients

I upgraded from Beta 13

Miss_B

Clients
(edited)
 

I upgraded from Beta 13

Did you try the Recovery Mode?

Edited by Miss_B

FeigelInc

Clients

Didn't know there was one on this version.

FeigelInc

Clients

Okay I did that it's still there.

Esther E.

Invision Community Team

What's in your system log? Any error like that would log an exception.

FeigelInc

Clients

TypeError: IPS\Patterns\ActiveRecord::constructFromData(): Argument #1 ($data) must be of type array, int given, called in /var/www/vhosts/awsefed.com/httpdocs/applications/forums/sources/Forum/Forum.php on line 906 and defined in /var/www/vhosts/awsefed.com/httpdocs/system/Patterns/ActiveRecord.php:242

Stack trace:

#0 /var/www/vhosts/awsefed.com/httpdocs/applications/forums/sources/Forum/Forum.php(906): IPS\Patterns\ActiveRecord::constructFromData()

#1 /var/www/vhosts/awsefed.com/httpdocs/static/templates/forums_front_index.php(838): IPS\forums\Forum->lastPost()

#2 /var/www/vhosts/awsefed.com/httpdocs/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_index->forumRow()

#3 /var/www/vhosts/awsefed.com/httpdocs/static/templates/forums_front_index.php(2767): IPS\Theme\SandboxedTemplate->__call()

#4 /var/www/vhosts/awsefed.com/httpdocs/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_index->index()

#5 /var/www/vhosts/awsefed.com/httpdocs/applications/forums/modules/front/forums/index.php(252): IPS\Theme\SandboxedTemplate->__call()

#6 /var/www/vhosts/awsefed.com/httpdocs/system/Dispatcher/Controller.php(139): IPS\forums\modules\front\forums\index->manage()

#7 /var/www/vhosts/awsefed.com/httpdocs/applications/forums/modules/front/forums/index.php(76): IPS\Dispatcher\Controller->execute()

#8 /var/www/vhosts/awsefed.com/httpdocs/system/Dispatcher/Dispatcher.php(169): IPS\forums\modules\front\forums\index->execute()

#9 /var/www/vhosts/awsefed.com/httpdocs/index.php(16): IPS\Dispatcher->run()

#10 {main}

Matt

Management
  • Management

Changed Status to Fixed

I'll do a patch today for this.