• After installing this plugin I had a fatal error and could not login to my backend.

    The error was:

    Fatal error: Uncaught Error: Call to undefined function wp_get_current_user()……../wp-includes/capabilities.php on line 640
    The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

    And the temporary workaround, to be able to access my backend, for it was to go into
    /wp-includes/capabilities.php
    to line 640
    and replaced:

    $current_user = wp_get_current_user();

    with

    if(function_exists( ‘is_user_logged_in’ )) {
    $current_user = wp_get_current_user();
    }

    Please author to correct this error.
    Thanks,
    Davor

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi dageci,

    Thank for the report.

    We will check it and fix it in the next update.

    Hollo I have same error in one of my pages (I use LP in two sites).

    In one of them, I´m unable to access backend because of LP.
    My hosting send me server logs with a fatal error because of LP

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

The topic ‘Fatal error on Activating LearnPress plugin’ is closed to new replies.