WordPress crashes after login
-
Hi,
I’m almost ready to go online with the new directorist plugin, but when testing with another user my WordPress crashes after using the login page.
I enter the credentials, press login and then WordPress displays a white page with the message:
There has been a critical error on your website.
Learn more about debugging in WordPress.My website works again, if I delete the browser cache.
I’ve enabled WP debug and get the following error:
[09-Jan-2020 17:16:21 UTC] PHP Fatal error: Uncaught Error: Call to a member function add_cap() on null in /www/htdocs/****/wp-content/plugins/directorist/includes/classes/class-user.php:49
Stack trace:
#0 /www/htdocs/****/wp-includes/class-wp-hook.php(288): ATBDP_User->allow_contributor_uploads(”)
#1 /www/htdocs/****/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
#2 /www/htdocs/****/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /www/htdocs/****/wp-settings.php(523): do_action(‘init’)
#4 /www/htdocs/****/wp-config.php(129): require_once(‘/www/htdocs/w00…’)
#5 /www/htdocs/****/wp-load.php(37): require_once(‘/www/htdocs/w00…’)
#6 /www/htdocs/****/wp-blog-header.php(13): require_once(‘/www/htdocs/w00…’)
#7 /www/htdocs/****/index.php(17): require(‘/www/htdocs/w00…’)
#8 {main}
thrown in /www/htdocs/****/wp-content/plugins/directorist/includes/classes/class-user.php on line 49What is going on here?
Thanks a lot
The topic ‘WordPress crashes after login’ is closed to new replies.