XF 1.5 forum_list Template Errors

XxUnkn0wnxX

Active member
hi I recently updated from XF 1.4.x

and I been getting these issues in the Admin panel some times but its constantly showing on the main page

Code:
Template Errors: forum_list
Invalid argument supplied for foreach() in /home/User/public_html/forums/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 570:
569:                 ';
570: foreach ($recentPosts AS $thread)
571: {
I recently also updated to php 7 from 5.6 and Percona Server 5.7

the senior installation is sound I've checked it. I've disabled all plugins, enabled debug mode & disabled all Listeners

I'm in the process of re-installing all plugins with updated ver's and scraping the no longer working ones.
 

Brogan

XenForo moderator
Staff member
That's from an add-on - check for template modifications or if you use the widget framework, it could be that.
 

Tracy Perry

Well-known member
If you are using widget framework and PHP 7, you need to get the latest version (which I believe is only available from the authors site).
Sometimes disabling the add-ons do not totally "disable" them.
 
Top