Page 1 of 1

[serendipity_event_usergallery] possible bug?

Posted: Fri Mar 15, 2013 9:30 am
by bernd_d
Today i have installed serendipity_event_usergallery 2.52 to see how it works and if i could use it for my next holidays, but something is going wrong if i call it...
Fatal error: Uncaught exception 'ErrorException' with message 'Serendipity error: array_merge(): Argument #2 is not an array' in /var/www/virtual/bd/bernd.distler.ws/include/compat.inc.php:117 Stack trace: #0 [internal function]: errorToExceptionHandler(2, 'array_merge(): ...', '/var/www/virtua...', 75, Array) #1 /var/www/virtual/bd/bernd.distler.ws/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php(75): array_merge(Array, NULL) #2 /var/www/virtual/bd/bernd.distler.ws/plugins/serendipity_event_usergallery/serendipity_event_usergallery.php(824): Smarty_Internal_TemplateBase->fetch('file:/var/www/v...', NULL, NULL, false) #3 /var/www/virtual/bd/bernd.distler.ws/plugins/serendipity_event_usergallery/serendipity_event_usergallery.php(402): serendipity_event_usergallery->show() #4 /var/www/virtual/bd/bernd.distler.ws/include/plugin_api.inc.php(1073): serendipity_event_usergallery->event_hook('entries_header', Object(serendipity_property_bag), Array, '') #5 /var/www/virtual/bd/bernd.distler.ws/include/function in /var/www/virtual/bd/bernd.distler.ws/include/compat.inc.php on line 117
I'm running Serendipity 1.7-rc4 (2013-03-12) on PHP 5.3.10

I have not used gallery before so i don't know if it happens in older s9y's too.

Re: [serendipity_event_usergallery] possible bug?

Posted: Fri Mar 15, 2013 9:50 am
by Timbalu
Latest version is 2.56. Can you upgrade to see if that works and the error is solved already?

Re: [serendipity_event_usergallery] possible bug?

Posted: Fri Mar 15, 2013 10:15 am
by bernd_d
Timbalu wrote:Latest version is 2.56.
Uh, strange. Spartacus doesn't show any updates but on github there seems to be an newer version :(

With 2.56 everything seems to work good. Thank you!

Re: [serendipity_event_usergallery] possible bug?

Posted: Fri Mar 15, 2013 10:29 am
by Timbalu
Uh yeah, that ~might~ be due to the fact, that we had some inconsistencies in a whole bunch of plugins a while ago, passing to the more strict PHP5. They were all corrected in summer!

So everyone upgrading to Serendipity 1.7 (and RC's) should upgrade its plugins and templates first to their latest state, to avoid having conflicts (like that). (recommended!) LAST CALL! ;-)

Re: [serendipity_event_usergallery] possible bug?

Posted: Fri Mar 15, 2013 10:50 am
by Timbalu
bernd_d wrote:I have not used gallery before so i don't know if it happens in older s9y's too.
Well you must have had it installed or fetched before, since Spartacus will not get an old version for you, especially since SPARTACUS WEB does show the latest version.

I just note this here to not make people worry about spartacus showing wrong updates.