Recent Topics

1.9.2: Basic Antispam plugin deactivates itself [fixed]

Started by on Jan 28, 2007 – Contents updated: Jan 28, 2007

Jan 28, 2007 03:04    

Hello all,

after upgrading from 1.9.1 beta to 1.9.2 (using upgrade-1.9.1-to-1.9.2.zip) I noticed the following:

Code

Notice: Trying to get property of non-object in /var/www/http/www.domain.tld/blog/inc/_misc/_plugins.class.php on line 1350
 
Notice: Undefined index: in /var/www/http/www.domain.tld/blog/inc/_misc/_plugins.class.php on line 1350
 
Notice: Trying to get property of non-object in /var/www/http/www.domain.tld/blog/inc/_misc/_plugins.class.php on line 1354
 
Notice: Undefined index: in /var/www/http/www.domain.tld/blog/inc/_misc/_plugins.class.php on line 1354

This appeared beneath the first post, above comment and permalink links. It appeared only one time because the plugin was deactivated after this. When I activate it again, the same thing happens again and it gets deactivated again.

What's the problem? Did I miss something during the upgrade? I also didn't find any solution here in the forum. But maybe I did not search well enough.

The problem for me is that without the plugin get a lot of comment spam again.

Regards,
Martin

Edit: The quick fix is to uninstall and re-install the "Basic Antispam Plugin" after upgrading to 1.9.2. (see replies for additional info)

Jan 30, 2007 21:00

I saw this on a plugin I wrote and updated it, but I'm surprised it's happening on an 'official' plugin. Are you using the version of the plugin that came with the upgrade? If so, or if it wasn't changed with this release package, do you have the same problem when using the 'custom' skin?

Jan 30, 2007 21:19

You get the notice _because_ the plugin gets deactivated.

There's another bug however however that prevents "upgrading" the basic antispam plugin. You need to either uninstall and reinstall it or it will get deactivated always again.

The following patch fixes this, but you should be fine with a reinstallation.

Patch: http://evocms.cvs.sourceforge.net/evocms/b2evolution/blogs/inc/_misc/_plugins.class.php?r1=1.71.2.28&r2=1.71.2.29&pathrev=v-1-9
Download fixed version for 1.9.x: http://evocms.cvs.sourceforge.net/*checkout*/evocms/b2evolution/blogs/inc/_misc/_plugins.class.php?revision=1.71.2.29&pathrev=v-1-9

Jan 30, 2007 21:39

Hello all!

EdB wrote:

Are you using the version of the plugin that came with the upgrade?

Yes.

EdB wrote:

If so, or if it wasn't changed with this release package, do you have the same problem when using the 'custom' skin?

I only use the customized custom skin.

blueyed wrote:

You get the notice _because_ the plugin gets deactivated.

Ah ok. ;-)

blueyed wrote:

There's another bug however however that prevents "upgrading" the basic antispam plugin. You need to either uninstall and reinstall it or it will get deactivated always again.

The following patch fixes this, but you should be fine with a reinstallation.

I reinstalled the plugin, it seemed to be the faster solution for me. Two mouse clicks. ;-) Thank you for the solution, it worked. I wait for the patch which should come with the next version of b2evo. :-)

Thank you for your answers, I'm happy my blogs will be spam-free again!

Roi


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.