• Resolved spencermooreweb

    (@spencermooreweb)


    Hi,

    I’m experiencing an error when this plugin is active and I create a new user. The user is still created, but the page loads and error afterwards.

    WordPress version 5.9.2
    Current theme: Woffice (version 4.1.9)
    Current plugin: WP Activity Log for bbPress (version 1.0.3)
    PHP version 7.3.33
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 136 of the file (website)/wp-content/plugins/wp-security-audit-log-add-on-for-bbpress/wp-security-audit-log/custom-sensors/BBPressUserSensor.php. Error message: Uncaught Error: Call to undefined method WpSecurityAuditLog::IsMultisite() in (website)/wp-content/plugins/wp-security-audit-log-add-on-for-bbpress/wp-security-audit-log/custom-sensors/BBPressUserSensor.php:136
    Stack trace:
    #0 (website)/wp-includes/class-wp-hook.php(307): WSAL_Sensors_BBPressUserSensor->event_user_role_changed(2785, 'administrator', '')
    #1 (website)/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #2 (website)/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #3 (website)/wp-includes/class-wp-user.php(629): do_action('set_user_role', 2785, 'administrator', Array)
    #4 (website)/wp-includes/user.php(2265): WP_User->set_role('administrator')
    #5 (website)/wp-admin/includes/user.php(229): wp_insert_user(Array)
    #6 (website)/wp-admin/use
Viewing 1 replies (of 1 total)
  • I might be having this issue, too. It’s occurring at least when adding an existing user on the multisite to a subsite they are not on. Is the error message on Import users from a CSV file page? And says:

    Some users were successfully imported but some were not, please check the error log.

    The error log link opens to a 403 Forbidden message and says:

    Access to this resource on the server is denied!

    Please let me know if I should create a new thread.

    WordPress version: 5.8.3
    PHP version: 7.2.34
    Occurring on multisite

    • This reply was modified 2 years, 11 months ago by apwpec.
Viewing 1 replies (of 1 total)
  • The topic ‘Error When Creating Users – Still Creates User’ is closed to new replies.