Title: [Plugin: Simple Ads Manager] Multiple errors
Last modified: August 20, 2016

---

# [Plugin: Simple Ads Manager] Multiple errors

 *  Resolved [doowdle](https://wordpress.org/support/users/doowdle/)
 * (@doowdle)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/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/](http://wordpress.org/extend/plugins/simple-ads-manager/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [comgate](https://wordpress.org/support/users/comgate/)
 * (@comgate)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-multiple-errors/#post-3057787)
 * 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 ?
 *  [comgate](https://wordpress.org/support/users/comgate/)
 * (@comgate)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-multiple-errors/#post-3057790)
 * 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
 *  [comgate](https://wordpress.org/support/users/comgate/)
 * (@comgate)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-multiple-errors/#post-3057798)
 * 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](https://wordpress.org/support/users/minimus/)
 * (@minimus)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-multiple-errors/#post-3057989)
 * Thanks for help in testing! Resolved in [beta 1.7.57](https://github.com/minimus/simple-ads-manager)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Simple Ads Manager] Multiple errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-ads-manager_73687f.svg)
 * [Simple Ads Manager](https://wordpress.org/plugins/simple-ads-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-ads-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-ads-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-ads-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-ads-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-ads-manager/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [minimus](https://wordpress.org/support/users/minimus/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-multiple-errors/#post-3057989)
 * Status: resolved