Introducing Quests: Tailored gamification & bridging in-person events with your community Mike Gitkos 10 hours ago10 hr
Posted August 8, 20222 yr 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
August 9, 20222 yr Community Expert I would suggest first of all switching to a default theme and checking if these are logged then, as it looks to be coming from your custom theme
August 9, 20222 yr Community Expert 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()