[RSS Feed/News] Thread Reply Ban Alerts + Push: Template error: [E_WARNING] Attempt to read property "prefix_id" on null

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
The templates "alert_thread_reply_ban" and "push_thread_reply_ban" both try to pass a variable named $thread to the "prefix" template function. This variable doesn't exist. It's called $content.

I'm not sure why this error has started to appear now. Maybe related to XenForo 2.2.5 or PHP 8 (my guess is the latter because there don't seem to be changes related to thread reply bans in XenForo 2.2.5).

Code:

#0 src/XF/Template/Templater.php(3476)...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom