WordPress.org

Ready to get started?Download WordPress

Forums

GD Star Rating
Strict error (2 posts)

  1. mewcrazy
    Member
    Posted 7 months ago #

    Hello,

    I just found 3 STRICT errors in your plugin. I'm using the iCan Localization plugin and this plugin also checks for script errors in other plugins and themes. Pretty handy.

    STRICT Error: [2048] Non-static method gdsrAdmFunc::init_uninstall() should not be called statically, assuming $this from incompatible context /var/www/clients/client1/web1/web/--dennis-bitsch.de/wp-content/plugins/gd-star-rating/code/class.php on line 1324<br />
    STRICT Error: [2048] Non-static method gdsrAdmFunc::init_templates() should not be called statically, assuming $this from incompatible context /var/www/clients/client1/web1/web/--dennis-bitsch.de/wp-content/plugins/gd-star-rating/code/class.php on line 1325<br />
    STRICT Error: [2048] Non-static method GDSRDBMulti::get_multis() should not be called statically, assuming $this from incompatible context /var/www/clients/client1/web1/web/--dennis-bitsch.de/wp-content/plugins/gd-star-rating/code/class.php on line 1380

    I'm using the plugin version 1.9.22 and the following PHP-Version:

    PHP 5.4.4-14+deb7u7 (cli) (built: Dec 12 2013 08:42:07)
    Copyright (c) 1997-2012 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
    with the ionCube PHP Loader v4.4.4, Copyright (c) 2002-2013, by ionCube Ltd., and
    with XCache v2.0.0, Copyright (c) 2005-2012, by mOo

    http://wordpress.org/plugins/gd-star-rating/

  2. blackus3r
    Member
    Posted 3 months ago #

    I have fixed it by making these three functions static.

Reply

You must log in to post.

About this Plugin

About this Topic