Support for SermonSpeaker 5.x is in bugfix mode only, the same as it is for Joomla 3.10.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.

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

More
17 May 2018 14:47 #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
17 May 2018 15:47 #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.

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

More
17 May 2018 16:04 #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
17 May 2018 16:30 #7119 by Thomas Hunziker
Looks indeed fine.
Can you tell me which PHP version you're using?

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

More
17 May 2018 16:41 #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
17 May 2018 17:36 #7121 by Roy

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

Time to create page: 0.181 seconds
Powered by Kunena Forum