Support for SermonSpeaker 4.x is canceled as it is for Joomla 2.5. I will gladly assist you with minor issues but I will not fix any bugs anymore in this releases.
The fix is to upgrade to SermonSpeaker 5.x and Joomla 3.x, which is better anyway.

Warning: in_array() [function.in-array]: Wrong dat

More
03 May 2012 18:53 #1873 by steve Pershall
I installed sermonspeaker and added a sermon when I tested the link I got the following warning

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/vscogco/public_html/components/com_sermonspeaker/helpers/sermonspeaker.php on line 136

any help would be great


thanks
steve

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

More
03 May 2012 21:43 #1874 by Thomas Hunziker
Hi Steve

First a note about the warning you see. It's not an error, just a warning. That means everything works as it should, the server just encountered "bad" programming and worked aroung it itself.
You can set if the server should show this warnings in the Joomla global configration in the "server" tab. For productive servers the "Error Reporting" should be best set to "none".

Now to the warning itself. It means the function "in_array()" doesn't have an array to search in, where it should have one. Most likely this is caused when you don't have saved the SermonSpeaker settings yet. Go to the SermonSpeaker settings and look for the "Columns" tab. There you probably want to check some of the additional informations which should be shown for the various views. If all is unchecked (which is default), it would only show the title of the sermon.

Did this help?

Btw: I will fix this "bad" coding so it should throw a warning anymore in the next release.

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

Time to create page: 0.105 seconds
Powered by Kunena Forum