MyBB Community Forums

Full Version: [Error 500] Moderator Log
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I Click "Moderator Log" in Tools&Maintenance Page Found HTTP ERROR 500
In log It's show
Quote:AH01071: Got error 'PHP message: PHP Parse error: syntax error, unexpected '$table' (T_VARIABLE) in /admin/modules/tools/modlog.php on line 286\n'
Please fix it.
Thanks.
This was fixed in this patch which will be part of 1.8.16: https://github.com/mybb/mybb/pull/3060
(2018-04-02, 04:15 PM)Euan T Wrote: [ -> ]This was fixed in this patch which will be part of 1.8.16: https://github.com/mybb/mybb/pull/3060

Thanks.
(2018-04-02, 03:53 PM)imteerachotj Wrote: [ -> ]When I Click "Moderator Log" in Tools&Maintenance Page Found HTTP ERROR 500
In log It's show
Quote:AH01071: Got error 'PHP message: PHP Parse error: syntax error, unexpected '$table' (T_VARIABLE) in /admin/modules/tools/modlog.php on line 286\n'
Please fix it.
Thanks.

just add a ; at the end of line 284 it will fix it.

                $plugins->run_hooks("admin_tools_modlog_modlogs_result");