Logo of SermonSpeaker Extension Claim

Login Form

Parse error: syntax error, unexpected /components/com_sermonspeaker/helpers/rout

More
4 months 4 weeks ago #7116 by Roy
Running into this errror:
Parse error: syntax error, unexpected '[' in /home3/myccag/public_html/components/com_sermonspeaker/helpers/route.php on line 466

URL is on this page:
www.myccag.com/member/sermon-online/sermons#

Looks like jwplayer is not defined, happens when I use the jwplayer
and no back end error shows with the generic player

Currently have 5.8.3 installed
Under Player I have -> use plugin

Thanks in advance!

Please Log in or Create an account to join the conversation.

More
4 months 4 weeks ago #7117 by Thomas Hunziker
This doesn't sound like an issue related to a player. The file in question (route.php) is used all over the code of SermonSpeaker, more or less everytime a link is generated.
Also syntax errors mean the code itself is invalid. That is detected even before the code is run.

You can try to install the current SermonSpeaker version over your existing one. That will copy all files again and overwrite possible changes.
If you haven't changed that file yourself, you should check if you haven't been hacked as usually files don't change by itself. You may have to check with your hoster for that.

Feel free to rate SermonSpeaker on JED .
Useful documentation for beginners: First Steps & FAQ
How to say "Thank You!": Contribute or support using the Donate button at the bottom of each page.

Please Log in or Create an account to join the conversation.

More
4 months 4 weeks ago #7118 by Roy
Downloaded the files here:
www.sermonspeaker.net/download/sermonspe...component-5-8-3.html

And reinstalled it again.

Looks like it reinstalled that file is restored, but problem still there.

From 461-467 its showing this:
else
{
// $id is 0 in case no category is specified by the calling layout
if (isset(self::$lookup[$language][$view]))
{
return reset(self::$lookup[$language][$view])[0];
}

Please Log in or Create an account to join the conversation.

More
4 months 4 weeks ago #7119 by Thomas Hunziker
Looks indeed fine.
Can you tell me which PHP version you're using?

Feel free to rate SermonSpeaker on JED .
Useful documentation for beginners: First Steps & FAQ
How to say "Thank You!": Contribute or support using the Donate button at the bottom of each page.

Please Log in or Create an account to join the conversation.

More
4 months 4 weeks ago #7120 by Roy
PHP Version 5.3.29
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.8.7 Stable [ Amani ] 18-April-2018 14:00 GMT

Please Log in or Create an account to join the conversation.

More
4 months 4 weeks ago #7121 by Roy

Please Log in or Create an account to join the conversation.

Time to create page: 0.126 seconds
Powered by Kunena Forum