• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug Error being generated by Trophies feature

sophie1204

Active member
#1
The following error is being generated by my Trophies feature. Anyone else encounter this?

[29-Sep-2012 10:47:45] PHP Parse error: syntax error, unexpected T_PUBLIC in /home/sitenamehere/forums/library/XenForo/CronEntry/Trophy.php on line 13
[29-Sep-2012 11:08:31] PHP Parse error: syntax error, unexpected T_PUBLIC in /home/sitenamehere/forums/library/XenForo/CronEntry/Trophy.php on line 13

What can I do to overcome it?
 

Adam Howard

Well-known member
#2
The following error is being generated by my Trophies feature. Anyone else encounter this?

[29-Sep-2012 10:47:45] PHP Parse error: syntax error, unexpected T_PUBLIC in /home/sitenamehere/forums/library/XenForo/CronEntry/Trophy.php on line 13
[29-Sep-2012 11:08:31] PHP Parse error: syntax error, unexpected T_PUBLIC in /home/sitenamehere/forums/library/XenForo/CronEntry/Trophy.php on line 13

What can I do to overcome it?
I can not confirm this bug.

Line 13 is thus

PHP:
    public static function runTrophyCheck()
I would suggest trying to re-upload this file (assuming you have not custom edit the file)

And I would also disable your other modifications and try to see which one is causing the issue.

For further support

http://xenforo.com/community/forums/xenforo-questions-and-support.25/