Page 1 of 1

Error message I don't understand

Posted: Tue May 18, 2004 9:45 am
by Stuart Tannehill
Hi, I can understand the message but I don't understand why I suddenly started getting it. I attempted to implement the "weather" plugin and when I selected it, I started getting this message. I think the plugin uses PEAR, could that have anything to do with it? At this point I cannot add any plugins. I tried going back to an earlier setup and, even after replacing ALL of the files and quitting the broswer, I still get this message! Argh!!

Code: Select all

Fatal error: Call to a member function on a non-object in /Library/WebServer/Documents/sblog/serendipity_plugin_api.php on line 290
Here is line 290 by the way (it is part of the generate_plugins function):

Code: Select all

$plugin->generate_content($title);
If you want to see how it munges my page go here:
http://stuart.homeunix.com/sblog/

Re: Error message I don't understand

Posted: Tue May 18, 2004 10:39 am
by garvinhicking
Hi Stuart!

Hm, this external plugin doesn't make use of advanced error reporting messaging (as its still in beta, I guess - haven't used it yet).

There are two steps you can do:

1. Fix the problem by browsing your serendipity_plugins SQL table (with phpMyAdmin or something similar) and delete the entry with the contents 'serendipity_plugin_weather').

2. Install PEAR on your webserver and get the WEATHER PEAR module installed, and pay attention that your include_dir also points to the PEAR-directory.

Sorry for that inconvenience, but this is just a similar problem like you reported earlier: Plugins with non-advanced error checks can create errors to pull serendipity down. We're working on that. :-)