Page 1 of 1

Karma Problem

Posted: Mon Feb 04, 2013 11:25 am
by Sasni
Hi, I moved seredndipity to another server, but Karma plug it does not work. It shows an error:

Code: Select all

Fatal error: Uncaught exception 'ErrorException' with message 'Serendipity error: explode() expects parameter 2 to be string, array given' in /home/sasni/domains/ Stack trace: 
#0 [internal function]: errorToExceptionHandler(2, 'explode() expec...', '/home/sasni/dom...', 759, Array) 
#1 /home/sasni/domains/ explode('?', Array) 
#2 /home/sasni/domains/ serendipity_event_karma->event_hook('frontend_footer', Object(serendipity_property_bag), Array, NULL) 
#3 /home/sasni/domains/ serendipity_plugin_api::hook_event('frontend_footer', Array, NULL) 
#4 /home/sasni/domains/ serendipity_smarty_hookPlugin(Array, Object(Smarty_Internal_Template)) 
#5 /home/sasni/domains/ in /home/sasni/domains/ on line 119 
When I disable this plug, all works propertly.

Re: Karma Problem

Posted: Mon Feb 04, 2013 11:42 am
by Timbalu
Yepp, we know, it was already fixed shortly after the RC2 release.
The final 1.7 release or a RC3 will fix it.
You can replace the serendipity_event_karma.php file with this one ... _karma.php
to fix the error immediately, or set your serendipity['production'] = true;

Thx for noting!

Re: Karma Problem

Posted: Tue Feb 05, 2013 2:57 pm
by Sasni
Ok, works, thanks