Fun with Plugin_api

Having trouble installing serendipity?
Post Reply
dyfustic
Regular
Posts: 7
Joined: Sat Jul 07, 2012 8:52 am
Location: München
Contact:

Fun with Plugin_api

Post 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
nikki 'dyfa' britz
@dyfustic auf Twitter
http://blog.addict.de
http://photo.addict.de
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Fun with Plugin_api

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: Fun with Plugin_api

Post 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.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Fun with Plugin_api

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: Fun with Plugin_api

Post 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.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
Post Reply