Page 1 of 1

Tagging of entries plugin: errors/warnings

Posted: Tue Aug 09, 2005 2:42 pm
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

Re: Tagging of entries plugin: errors/warnings

Posted: Tue Aug 09, 2005 2:56 pm
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

Posted: Tue Aug 09, 2005 4:00 pm
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)

Posted: Tue Aug 09, 2005 4:21 pm
by bpkri
and after adding some tags, everything is allright now. :)