Title: PHP Fatal error: Call to undefined function initUserAccessManger()
Last modified: May 4, 2017

---

# PHP Fatal error: Call to undefined function initUserAccessManger()

 *  Resolved [impeka](https://wordpress.org/support/users/impeka/)
 * (@impeka)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-inituseraccessmanger/)
 * Hi,
 * After updating to the most recent version 2.0.6 I get this fatal error in my 
   error log.
 * PHP Fatal error: Call to undefined function initUserAccessManger() in /wp-content/
   plugins/user-access-manager/user-access-manager.php
 * Also, to make sure I downloaded a fresh version of the plugin and overwrote my
   current one to make sure I wasn’t missing anything.
 * Any ideas?
    -  This topic was modified 9 years, 1 month ago by [impeka](https://wordpress.org/support/users/impeka/).

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

 *  Plugin Author [gm_alex](https://wordpress.org/support/users/gm_alex/)
 * (@gm_alex)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-inituseraccessmanger/#post-9097349)
 * Please reupload the whole module and try again.
    -  This reply was modified 9 years, 1 month ago by [gm_alex](https://wordpress.org/support/users/gm_alex/).
 *  Thread Starter [impeka](https://wordpress.org/support/users/impeka/)
 * (@impeka)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-inituseraccessmanger/#post-9097391)
 * Hi Alex,
 * I added an edit on my initial ticket that to make sure I covered all bases I 
   downloaded a fresh version of the plugin and overwrote the current one.
 * What else could cause this?
 *  Plugin Author [gm_alex](https://wordpress.org/support/users/gm_alex/)
 * (@gm_alex)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-inituseraccessmanger/#post-9098830)
 * Sorry didn’t noticed you answered me. If you have a look at the main plugin file(
   [https://github.com/GM-Alex/user-access-manager/blob/master/user-access-manager.php](https://github.com/GM-Alex/user-access-manager/blob/master/user-access-manager.php))
   there is a
 *     ```
       require_once 'init.php';
       ```
   
 * So I can only guess that the file init.php is corrupted or has wrong file permissions.
   Seems really strange, because normally the require_once should fail, if the files
   isn’t loaded. Could you double check if the file is there and has the missing
   function defined?
    -  This reply was modified 9 years, 1 month ago by [gm_alex](https://wordpress.org/support/users/gm_alex/).
 *  Thread Starter [impeka](https://wordpress.org/support/users/impeka/)
 * (@impeka)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-inituseraccessmanger/#post-9101199)
 * Hi Alex,
 * The require_once ‘init.php’; was there but it would never load that file. I added
   some error logs before the init.php (and it would get there) and an error log
   inside the init.php file and it wouldn’t.
 * There was also some error logs
 * PHP Warning: require_once(): failed to open stream: No such file or directory
   in plugins/user-access-manager/user-access-manager.php on line 65
 * So for now, as a temporary fix I change the require_once ‘init.php’; to the full
   path on my server.
 * Can you have a look at that and maybe in your next version add the plugin path
   directive?
 * Any ideas why it would do that?
 * Thank you
 *  Plugin Author [gm_alex](https://wordpress.org/support/users/gm_alex/)
 * (@gm_alex)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-inituseraccessmanger/#post-9104702)
 * Only idea I have is that you are using windows. But anyway I changed it to full
   paths for the next release. Thanks for figuring that out!

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

The topic ‘PHP Fatal error: Call to undefined function initUserAccessManger()’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [gm_alex](https://wordpress.org/support/users/gm_alex/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-inituseraccessmanger/#post-9104702)
 * Status: resolved