Page 1 of 1

Fun with Plugin_api

Posted: Tue Jul 10, 2012 8:24 am
by dyfustic
Good morning,

it's me again. S9Y is displaying errors. S9y 1.6.2 with PHP 5.4.4 again.

Displayed in the sidebar right under the "search"-field after a search.

Code: Select all

Warning: Illegal string offset 'properties' in /path/to/serendipity/include/plugin_api.inc.php on line 1629
and when I use Spartacus to find new plugins this error is shown multiple times (30-50 lines with the same error) before the search result.

Code: Select all

Warning: Illegal string offset 'tag' in /path/to/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 724
I reinstalled both plugins but nothing changes.

I'll disable the displaying of errors now, because everything seems to work. Which is just the classic out-of-sight-is-out-of-mind-method, but in this case it works fine for me. ;-)

In case this is a installation/config issue on my side, I'd like to fix it.
In case this is an internal s9y issue, maybe you'd like to fix it?

dyfa

Re: Fun with Plugin_api

Posted: Tue Jul 10, 2012 1:54 pm
by garvinhicking
Hi!

For PHP 5.4 you might want to better try s9y 1.7 - this has many optimizations that are helpful with PHP 5.4. There might still be things left in s9y 1.7, if you face any of the error reporting issues there, please report them! Many thanks.

Regards,
Garvin

Re: Fun with Plugin_api

Posted: Tue Jul 10, 2012 2:28 pm
by blog.brockha.us
@Garvin: If 1.6.2 really behaves strange with PHP 5.4, shouldn't we do an update release to fix that problem?

P.S.: I run S9y 1.6.2 productive on PHP 5.3 and don't have these kind of errors there. These problems are from 5.4 on only as it seems.

Re: Fun with Plugin_api

Posted: Tue Jul 10, 2012 2:48 pm
by garvinhicking
blog.brockha.us wrote:@Garvin: If 1.6.2 really behaves strange with PHP 5.4, shouldn't we do an update release to fix that problem?
IMHO we've had too few testers yet for those changes, so ideally I would first test it with people reporting here before releasing it to genpop...plus, I'll be on vacation at the end of next month and swamped with work, so I'll probably not find the time to do a proper release before that...

Regards,
Garvin

Re: Fun with Plugin_api

Posted: Tue Jul 10, 2012 2:51 pm
by blog.brockha.us
Okay, that are valid arguments, of course.

So I switch my testing blog to PHP 5.4 and have a look, if everything's working. I have "master" installed there, so I can test a little more.