Fatal error when using Learnpress with Magee Onetone theme
-
AuthorPosts
-
-
March 1, 2018 at 7:01 AM #268549daniel2Participant
When using a plugin called Magee Shortcodes Pro (included in Onetone Pro theme), Learnpress cause a Fatal Error in WordPress. See below:
————————————–BEGIN OF ERROR—————————————————-
Fatal error: Uncaught Error: Call to undefined function get_userdata() in /home/danielsm/public_html/university.innovagp.com/wp-content/plugins/learnpress/inc/user/class-lp-user-factory.php:152 Stack trace: #0 /home/danielsm/public_html/university.innovagp.com/wp-content/plugins/learnpress/inc/user/class-lp-user-factory.php(131): LP_User_Factory::get_user_class(0) #1 /home/danielsm/public_html/university.innovagp.com/wp-content/plugins/learnpress/inc/user/lp-user-functions.php(64): LP_User_Factory::get_user(0) #2 /home/danielsm/public_html/university.innovagp.com/wp-content/plugins/learnpress/inc/class-lp-query.php(39): learn_press_get_current_user() #3 /home/danielsm/public_html/university.innovagp.com/wp-includes/class-wp-hook.php(286): LP_Query->parse_request(Object(WP_Query)) #4 /home/danielsm/public_html/university.innovagp.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #5 /home/danielsm/public_html/university.innovagp.com/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #6 /home/dani in /home/danielsm/public_html/university.innovagp.com/wp-content/plugins/learnpress/inc/user/class-lp-user-factory.php on line 152————————————–END OF ERROR—————————————————-
I did a work-around to revive my website, inserting the following line in the beginning of wp-settings.php file:
require( ABSPATH . WPINC . ‘/pluggable.php’ );The problem is that this will be lost after any WordPress update.
-
March 1, 2018 at 11:38 AM #268660AnonymousInactive
Dear daniel2,
May be the reason is due to LearnPress is conflict with this plugin (Magee Shortcodes Pro plugin).
We’ll continue to check this issue. Besides, you also should contact with the support team of this plugin (Magee Shortcodes Pro plugin). Hope they can find a solution faster.
Best regards,
Huyen Anh
Â
-
-
AuthorPosts
You must be logged in to reply to this topic. You can click here