PHP Fatal error: Uncaught Error: Call to undefined function wp_roles() in /home
-
Hi,
I am attempting to migrate a site from another host and after restoring the site from backup I am unable to login to the site. I’ve tried resetting the admin password via PHPMyAdmin and via the password reset link but neither work. The old site is on WP 4.2.2. The new host is using PHP 7.4The error I get is the following
Stack trace:
#0 /home/waltonsalon/public_html/wp-content/plugins/js_composer/include/classes/core/access/class-vc-current-user-access-controller.php(43): get_editable_roles()
#1 /home/waltonsalon/public_html/wp-content/plugins/js_composer/include/classes/core/access/class-vc-role-access-controller.php(99): Vc_Current_User_Access_Controller->getRole()
#2 /home/waltonsalon/public_html/wp-content/plugins/js_composer/include/autoload/vc-pages/page-design-options.php(21): Vc_Role_Access_Controller->can(‘vc-color-tab’)
#3 /home/waltonsalon/public_html/wp-includes/plugin.php(496): vc_check_for_custom_css_build(”)
#4 /home/waltonsalon/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-manager.php(227): do_action(‘vc_before_init’)
#5 /home/waltonsalon/public_html/wp-includes/plugin.php(496): Vc_Manager->init(”)
#6 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/wp-cli/p in /home/waltonsalon/public_html/wp-admin/includes/user.php on line 263
[21-Jan-2021 18:58:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_roles() in /home/waltonsalon/public_html/wp-admin/includes/user.php:263any help appreciated.
thanks
- The topic ‘PHP Fatal error: Uncaught Error: Call to undefined function wp_roles() in /home’ is closed to new replies.