Tagging of entries plugin: errors/warnings

Found a bug? Tell us!!
Post Reply
bpkri
Regular
Posts: 41
Joined: Tue Aug 09, 2005 2:31 pm

Tagging of entries plugin: errors/warnings

Post by bpkri »

Hiya, I know this has been reported before with old versions of this plugin:

I am using s9y 0.9 nightly build with the serendipity_event_freetag plugin version 2.18

When I open the edit page mask I get this error displayed above the field where I can enter tags:

Warning: Invalid argument supplied for foreach() in path/to/blog/plugins/serendipity_event_freetag/serendipity_event_freetag.php on line 429

When I klick on Manage Tags and then on Manage all Tags I get:
Warning: Invalid argument supplied for foreach() in path/to/blog/plugins/serendipity_event_freetag/serendipity_event_freetag.php on line 913

When I klick on Manage Tags and then on Manage 'Leaf' Tags I get:

Warning: Invalid argument supplied for foreach() in /srv/www/htdocs/web1/html/blog2/plugins/serendipity_event_freetag/serendipity_event_freetag.php on line 737

Warning: Invalid argument supplied for foreach() in /srv/www/htdocs/web1/html/blog2/plugins/serendipity_event_freetag/serendipity_event_freetag.php on line 913

Any ideas? :)

kind regards,
Bernd Pressler
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Tagging of entries plugin: errors/warnings

Post by garvinhicking »

Hi!

Those errors all seem to came because no tag had been set for your entry. I have fixed those cases and made some array-casting in the PHP code and committed it to version 2.19 of the plugin.

Can you check if the "entrytags" DB table exists on your installation? Maybe that table is missing, which the plugin should usually create!

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/
Guest

Post by Guest »

Yes, the table exists.

and you are right, so far no tags exist (which is logical since I didn't yet create any tags)
bpkri
Regular
Posts: 41
Joined: Tue Aug 09, 2005 2:31 pm

Post by bpkri »

and after adding some tags, everything is allright now. :)
Post Reply