WordPress.org

Support

Support » Plugins and Hacks » Simple Ads Manager » [Resolved] [Plugin: Simple Ads Manager] Multiple errors

[Resolved] [Plugin: Simple Ads Manager] Multiple errors

  • Notice: Undefined property: SAMHelp33::$listPage in /wp-content/plugins/simple-ads-manager/help.class.php on line 89

    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in /wp-includes/functions.php on line 2638

    on installation WP gives a warning that the plugin is creating 805 chars of wrong content – expect problems.

    http://wordpress.org/extend/plugins/simple-ads-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Same issues here.
    WP version 3.4.1
    Custom theme in development

    Notice: Undefined property: SAMHelp33::$listPage in [...]/wp-content/plugins/simple-ads-manager/help.class.php on line 89
    
    Notice: Undefined property: SAMHelp33::$editPage in [...]/wp-content/plugins/simple-ads-manager/help.class.php on line 89
    
    Notice: Undefined property: SAMHelp33::$listZone in [...]h/wp-content/plugins/simple-ads-manager/help.class.php on line 89
    
    Notice: Undefined property: SAMHelp33::$editZone in [...]/wp-content/plugins/simple-ads-manager/help.class.php on line 89
    
    Notice: Undefined property: SAMHelp33::$listBlock in [...]/wp-content/plugins/simple-ads-manager/help.class.php on line 89
    
    Notice: Undefined property: SAMHelp33::$editBlock in [...]/wp-content/plugins/simple-ads-manager/help.class.php on line 89
    
    Notice: Undefined property: SAMHelp33::$settingsPage in [...]/wp-content/plugins/simple-ads-manager/help.class.php on line 89

    And when I try to add a new “Place” I get this in “Add Place Size” area :

    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/sr-strh/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628'

    Any advices ?

    Also after adding new place the following problem pops up, under the Update WordPress / Help bar:

    Notice: Undefined index: patch_adserver in [...]/wp-content/plugins/simple-ads-manager/editor.admin.class.php on line 255
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628
    
    Notice: __ngettext is deprecated since version 2.8! Use _n() instead. in [...]/wp-includes/functions.php on line 2628

    p.s. PHP version 5.2.17

    solved the issue mentioned in my 2nd post by replacing all
    __ngettext
    with
    _n
    in the following files in the main plugin directory:

    • editor.admin.class.php
    • list.admin.class.php

    About all the “undefined index” notices (and there are way more of those, then just the ones related to the SAMHelp33 class),
    well, SAM seems to be working fine even this way, so simply turning my
    wp_config.php’s line
    define('WP_DEBUG', true);
    to
    define('WP_DEBUG', false);
    will hide this issue, when I will be giving away my theme to the end-user.

    Yet, I’d say this otherwise very nice plugin, can greatly benefit from utilizing isset() in it’s code.

    Plugin Author minimus

    @minimus

    Thanks for help in testing! Resolved in beta 1.7.57

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: Simple Ads Manager] Multiple errors’ is closed to new replies.
Skip to toolbar