XF 1.5 forum_list Template Errors


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

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.

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.