Karma Problem

Creating and modifying plugins.
Post Reply
Sasni
Regular
Posts: 18
Joined: Wed Nov 10, 2010 9:36 pm
Location: Poland
Contact:

Karma Problem

Post 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.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Karma Problem

Post 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!
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Sasni
Regular
Posts: 18
Joined: Wed Nov 10, 2010 9:36 pm
Location: Poland
Contact:

Re: Karma Problem

Post by Sasni »

Ok, works, thanks
Post Reply