WordPress.org

Ready to get started?Download WordPress

Forums

User Access Manager
PHP Warnings and Notice (4 posts)

  1. john-ess
    Member
    Posted 2 years ago #

    Hi,
    New user here. I keep getting the following when I activate:

    Notice: Trying to get property of non-object in /home/public_html/wp-content/plugins/user-access-manager/class/UserAccessManager.class.php on line 1881

    Warning: Call-time pass-by-reference has been deprecated in /home/public_html/wp-content/plugins/user-access-manager/class/UamUserGroup.class.php on line 646

    And cannot figure out how to turn this error off. Is this my local machine being overly-zealous in telling me? These are showing up on every page, logged in or not. Any help appreciated.

    Thanks,
    john

    http://wordpress.org/extend/plugins/user-access-manager/

  2. brdoco
    Member
    Posted 1 year ago #

    Were you ever able to get past this? I'm experiencing the first issue.

  3. jrf
    Member
    Posted 1 year ago #

    And cannot figure out how to turn this error off. Is this my local machine being overly-zealous in telling me?

    The fact that your machine is telling you about the error means that you are running WordPress with error notifications on (good practice in a test/development environment, NEVER do this in a live environment).

    To turn error reporting of:

    • Open wp-config.php and check if the WP_DEBUG constant is being set. If so, make sure it's set to false:
      define('WP_DEBUG', false);
    • If WP_DEBUG is not present or already set to false, then it's your PHP settings. Again in wp-config, add either of the following lines:
      To turn off error reporting completely:
      error_reporting(0);
      To keep error reporting on, but to disable the errors from showing up on your screen (they will still be logged if logging is turned on):
      @ini_set( 'display_errors', false );

    The fact that you are getting the errors has something to do with the code, this may be the plugin, but it could also be interference from another plugin.
    If you want to start actual debugging, first thing to check is whether you 've updated all plugins to the latest version.

    Hope this helps.

    Smile,
    Juliette

  4. Michelle
    Member
    Posted 1 year ago #

    I believe the second error, at least, is related to the version of PHP you're running on WAMP. UAM seems to work on older versions but hasn't been updated for 5.4.3.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic