Title: Error message: Uncaught Error: Call to undefined function token_get_all()
Last modified: March 7, 2022

---

# Error message: Uncaught Error: Call to undefined function token_get_all()

 *  Resolved [jimmy.carter](https://wordpress.org/support/users/jimmycarter-1/)
 * (@jimmycarter-1)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-message-uncaught-error-call-to-undefined-function-token_get_all/)
 * I’ve been using Ultimate Member for about 3 years without incident. Today, I 
   could not login to admin panel, instead received a PHP error message. Then WordPress
   sent me an email that my site was experiencing a technical issue, gave me a recovery
   mode link and the information copied below.
 * I’m the simpleton that WordPress is supposed to appeal to without real programming
   savvy. I clicked the recovery mode link and was able to access WordPress admin/
   dashboard. On the plugin page, it said “This plugin failed to load prperly and
   is paused during recovery mode”. I deactivated the plugin, exited recovery mode
   and everything (except Ultimate Member, of course) is working properly. I tried
   to activate Ultimate Member and the same thing happened again.
 * Can anyone help me know what to do next?
 * Here is the error message:
 * When seeking help with this issue, you may be asked for some of the
    following
   information: WordPress version 5.9.1 Current theme: Customizr Child (version 
   1.0.0) Current plugin: Ultimate Member (version 2.3.1) PHP version 7.4.28
 * Error Details
    ============= An error of type E_ERROR was caused in line 963 
   of the file /home/myncma/www/wp-content/plugins/ultimate-member/includes/core/
   class-shortcodes.php. Error message: Uncaught Error: Call to undefined function
   token_get_all() in /home/myncma/www/wp-content/plugins/ultimate-member/includes/
   core/class-shortcodes.php:963 Stack trace: #0 /home/myncma/www/wp-content/plugins/
   ultimate-member/includes/admin/core/class-admin-settings.php(1337): um\core\Shortcodes-
   >get_templates() #1 /home/myncma/www/wp-includes/class-wp-hook.php(307): um\admin\
   core\Admin_Settings->init_variables() #2 /home/myncma/www/wp-includes/class-wp-
   hook.php(331): WP_Hook->apply_filters() #3 /home/myncma/www/wp-includes/plugin.
   php(474): WP_Hook->do_action() #4 /home/myncma/www/wp-admin/admin.php(175): do_action()#
   5 /home/myncma/www/wp-admin/plugins.php(10): require_once(‘/home/myncma/ww…’)#
   6 {main} thrown`

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

 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-message-uncaught-error-call-to-undefined-function-token_get_all/#post-15435231)
 * [@jimmycarter-1](https://wordpress.org/support/users/jimmycarter-1/)
 * Call your web hosting support about this issue, it’s probably a PHP installation
   error.
 *  Thread Starter [jimmy.carter](https://wordpress.org/support/users/jimmycarter-1/)
 * (@jimmycarter-1)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-message-uncaught-error-call-to-undefined-function-token_get_all/#post-15437791)
 * Thank you [@missveronicatv](https://wordpress.org/support/users/missveronicatv/)!
   The host got on it immediately and mentioned there was a big php update. He corrected
   the problem and now everything works.
 *  Plugin Support [Ultimate Member Support](https://wordpress.org/support/users/ultimatemembersupport/)
 * (@ultimatemembersupport)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-message-uncaught-error-call-to-undefined-function-token_get_all/#post-15440340)
 * Hi [@jimmycarter-1](https://wordpress.org/support/users/jimmycarter-1/)
 * Thanks for letting us know how it resolves the issue.

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

The topic ‘Error message: Uncaught Error: Call to undefined function token_get_all()’
is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Ultimate Member Support](https://wordpress.org/support/users/ultimatemembersupport/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/error-message-uncaught-error-call-to-undefined-function-token_get_all/#post-15440340)
 * Status: resolved