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/sasni.eu/public_html/include/compat.inc.php:119 Stack trace: 
#0 [internal function]: errorToExceptionHandler(2, 'explode() expec...', '/home/sasni/dom...', 759, Array) 
#1 /home/sasni/domains/sasni.eu/public_html/plugins/serendipity_event_karma/serendipity_event_karma.php(759): explode('?', Array) 
#2 /home/sasni/domains/sasni.eu/public_html/include/plugin_api.inc.php(1073): serendipity_event_karma->event_hook('frontend_footer', Object(serendipity_property_bag), Array, NULL) 
#3 /home/sasni/domains/sasni.eu/public_html/include/functions_smarty.inc.php(554): serendipity_plugin_api::hook_event('frontend_footer', Array, NULL) 
#4 /home/sasni/domains/sasni.eu/public_html/templates_c/i3theme/0e/63/55/0e63553d965d06a3d2ccc7a4a2f81f48a5d0b352.file.index.tpl.php(275): serendipity_smarty_hookPlugin(Array, Object(Smarty_Internal_Template)) 
#5 /home/sasni/domains/sasni.eu/publi in /home/sasni/domains/sasni.eu/public_html/include/compat.inc.php 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
https://raw.github.com/s9y/Serendipity/ ... _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