Title: [Plugin: User Access Manager] Fatal Error
Last modified: August 20, 2016

---

# [Plugin: User Access Manager] Fatal Error

 *  Resolved [Benjamin Uzelac](https://wordpress.org/support/users/uzegonemad/)
 * (@uzegonemad)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-user-access-manager-fatal-error/)
 * Upon installing this plugin, I get the following issue:
 * Fatal error: Call-time pass-by-reference has been removed in /path/to/folder/
   wp-content/plugins/user-access-manager/class/UamUserGroup.class.php on line 646
 * I’m using php 5.4 and nginx as my webserver, if it helps.
 * [http://wordpress.org/extend/plugins/user-access-manager/](http://wordpress.org/extend/plugins/user-access-manager/)

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

 *  [greybe](https://wordpress.org/support/users/greybe/)
 * (@greybe)
 * [14 years ago](https://wordpress.org/support/topic/plugin-user-access-manager-fatal-error/#post-2735885)
 * Had the same problem, my plugin had been working fine… so it’s because of the
   legacy code.
 * simply search the **UamUserGroup.class.php** file for any references passed like
   so
 * **function myFunc($arg) { }
    myFunc(&$arg);
 * And replace like so
 * **function myFunc(&$arg) { }
    myFunc($var);
 * Work fine for me! Hope this helps.
 *  [stacef](https://wordpress.org/support/users/stacef/)
 * (@stacef)
 * [14 years ago](https://wordpress.org/support/topic/plugin-user-access-manager-fatal-error/#post-2735900)
 * I’ve got the same fatal error issue but, in looking through UamUserGroup.class.
   php, I’m not seeing the functions you mention. There are many other functions,
   some with arguments, some without, but then I don’t find the functions called.
   I’ve checked UAM 1.2.1 and 1.2.2.
 * Can you be more specific about the code to replace? I’m using wp 3.2.1
 * Thanks,
    Stace
 *  [Solsikken](https://wordpress.org/support/users/solsikken/)
 * (@solsikken)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-user-access-manager-fatal-error/#post-2735934)
 * Same issue here, the site is crashed – any help out there?
 * > I’ve got the same fatal error issue but, in looking through UamUserGroup.class.
   > php, I’m not seeing the functions you mention.
 * Thanks in advance.
 *  [rockedge](https://wordpress.org/support/users/rockedge/)
 * (@rockedge)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-user-access-manager-fatal-error/#post-2735941)
 * In UamUserGroup.class.php, line 646 &$this
    remove the & ….do the same on line
   994 remove the &. I can get the plugin to run if the error reporting is OFF in
   the php.ini as this is only part of the true fix. I am sorting that out where
   to add the & in the function definition to comply with PHP 5.4.4 to really fix
   it. The error occurs now is an empty object with no value.
 *  [Solsikken](https://wordpress.org/support/users/solsikken/)
 * (@solsikken)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-user-access-manager-fatal-error/#post-2735945)
 * I have the same problem, and do not understand the proposed solution. Will appreciate
   any help. Thanks.
 *  [goetzm](https://wordpress.org/support/users/goetzm/)
 * (@goetzm)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-user-access-manager-fatal-error/#post-2735965)
 * Hi, the installation worked fine, besides the first ‘&’ was located a row earlier
   than mentioned. Tx a lot and greetings from Palatina/Germany!
 *  [pa.Nick](https://wordpress.org/support/users/panick-1/)
 * (@panick-1)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-user-access-manager-fatal-error/#post-2735972)
 * Thank you, rockedge!
 *  [zachsbarnes](https://wordpress.org/support/users/zappsdev/)
 * (@zappsdev)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-user-access-manager-fatal-error/#post-2735973)
 * I had the same issue and removing the & from $this on lines 645 and 994 fixed
   the issue.
 * The issue is that you can’t pass an object by reference, which is what the & 
   does if you add it to the beginning of variables. The way PHP 5 works is that
   when you pass an object as a argument into a function the argument points to 
   the same value as the original object by default.
 * Here is a little more information:
    [http://php.net/manual/en/language.oop5.references.php](http://php.net/manual/en/language.oop5.references.php)
 *  Plugin Author [gm_alex](https://wordpress.org/support/users/gm_alex/)
 * (@gm_alex)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-user-access-manager-fatal-error/#post-2735975)
 * Fixed since version 1.2.3

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

The topic ‘[Plugin: User Access Manager] Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/user-access-manager/assets/icon.svg?rev=1563783)
 * [User Access Manager](https://wordpress.org/plugins/user-access-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-access-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/user-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-access-manager/reviews/)

 * 9 replies
 * 9 participants
 * Last reply from: [gm_alex](https://wordpress.org/support/users/gm_alex/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-user-access-manager-fatal-error/#post-2735975)
 * Status: resolved