Bug [Bug Fix] Fixing TypeError in ButtonManagerController in XenForo 2.3.0

There is a bug in this version
J

jman

Guest
Content:

Hello XenForo Community,

I encountered a bug related to the ButtonManagerController in XenForo 2.3.0, which results in a TypeError. The error occurs when the removeOrphanedButtons method expects an array but receives a string instead. Here’s the detailed error message:

Code:

Code:
ErrorException: [E_WARNING] foreach() argument must be of type array|object, string given in src/XF/Admin/Controller/ButtonManagerController.php at line 112
XF::handlePhpError() in...

Read more

Continue reading...