Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 1 Year, 5 Months, 2 Weeks ago modlog.php Error
#1
Solved: 1 Year, 5 Months, 2 Weeks ago
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']);
Reply
#2
Solved: 1 Year, 5 Months, 2 Weeks ago
Is there any semicolon missing at the end of line 285?
[Image: logo.svg.svg]
Reply
#3
Solved: 1 Year, 5 Months, 2 Weeks ago
This is the code.

[Image: qX015wb.png]
Reply
#4
Solved: 1 Year, 5 Months, 2 Weeks ago
Add a semicolon at the end of the $plugins line. Should look like this:

$plugins->run_hooks("admin_tools_modlog_modlogs_result");
Plugin Count: I lost count.
Public Plugins are available here.
Official GitHub.
Please do not PM me for support unless asked to.
Reply
#5
Solved: 1 Year, 5 Months, 2 Weeks ago
(05-27-2018, 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
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)