• Resolved webdepot

    (@webdepot)


    On the /wp-admin, the website is not working. The error shown is as follows:

    Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/vhosts/jolandaknook.nl/httpdocs/wp-content/plugins/sg-security/core/Activity_Log/Activity_Log_Helper.php:20 Stack trace: #0 /var/www/vhosts/jolandaknook.nl/httpdocs/wp-content/plugins/sg-security/core/Activity_Log/Activity_Log_Plugins.php(41): SG_Security\Activity_Log\Activity_Log_Helper->log_event(Array) #1 /var/www/vhosts/jolandaknook.nl/httpdocs/wp-includes/class-wp-hook.php(290): SG_Security\Activity_Log\Activity_Log_Plugins->log_plugin_deactivate('user-role-edito...') #2 /var/www/vhosts/jolandaknook.nl/httpdocs/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array) #3 /var/www/vhosts/jolandaknook.nl/httpdocs/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /var/www/vhosts/jolandaknook.nl/httpdocs/wp-admin/includes/plugin.php(816): do_action('deactivated_plu...', 'user-role-edito...', false) #5 /var/www/vhosts/jolandaknook.nl/httpdocs/wp-content/plugins/user-role-editor/includes/classes/base-lib.php(238): in /var/www/vhosts/jolandaknook.nl/httpdocs/wp-content/plugins/sg-security/core/Activity_Log/Activity_Log_Helper.php on line 20

    There is no user logged in at this moment in time.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter webdepot

    (@webdepot)

    I think I know where it went wrong. After updating PHP to 7.4 it worked, as User Role Editor entered with that message.

    Plugin Author Ignat Georgiev

    (@ignatggeorgiev)

    Hey @webdepot,

    Are you running the latest version of the plugin? Please make sure that the plugin is updated to the latest version – 1.1.3

    Kind Regards,
    Ignat

    Thread Starter webdepot

    (@webdepot)

    Problem is resolved by updating PHP to 7.4. User role editor was bragging for it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SG Security breaking a website’ is closed to new replies.