MyBB Community Forums

Full Version: modlog.php Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For some odd reason, I cannot access the modlog because I receive this error - 

Parse error: syntax error, unexpected '$table' (T_VARIABLE) in /home/site/public_html/forums/5g4uu5fj/modules/tools/modlog.php on line 286

All the other logs can be accessed just fine, it only seems to be a problem with modlog. 

Line 286 - 
		$table->construct_cell($logitem['profilelink']);
Is there any semicolon missing at the end of line 285?
This is the code.

[Image: qX015wb.png]
Add a semicolon at the end of the $plugins line. Should look like this:

$plugins->run_hooks("admin_tools_modlog_modlogs_result");
(2018-05-27, 01:40 PM)Wires Wrote: [ -> ]Add a semicolon at the end of the $plugins line. Should look like this:

$plugins->run_hooks("admin_tools_modlog_modlogs_result");

Thanks, all good now. Smile