Jump to content

Strange php error log entries


Recommended Posts

For the past couple of days I've seen this error repeat over and over in my php error logs. Does anyone know what could be causing it?

[08-Aug-2022 00:10:59 UTC] PHP Deprecated:  Optional parameter $votes declared before required parameter $pagination is implicitly treated as a required parameter in /home/mysite/public_html/uploads/template_cache/template_161_7a734b11232065691bc1176040cb26ad_topics.php on line 3174
[08-Aug-2022 00:10:59 UTC] PHP Deprecated:  Optional parameter $nextUnread declared before required parameter $pagination is implicitly treated as a required parameter in /home/mysite/public_html/uploads/template_cache/template_161_7a734b11232065691bc1176040cb26ad_topics.php on line 3174
[08-Aug-2022 00:11:04 UTC] PHP Deprecated:  Optional parameter $question declared before required parameter $pagination is implicitly treated as a required parameter in /home/mysite/public_html/uploads/template_cache/template_161_7a734b11232065691bc1176040cb26ad_topics.php on line 3174

 

Link to comment
Share on other sites

As Marc mentioned, this is likely an out of date theme. Specifically, the forums > topics > topic template. If you open that template in your theme, click the Variables button and make sure it looks like this:

$topic, $comments, $question=NULL, $votes=array(), $nextUnread=NULL, $pagination=NULL, $topicVotes=array()

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...