• If I have this plugin active, if I try to edit the profile of a user, there is no Update Profile button because the plugin is throwing a PHP Error before it completes loading the page. Below is the error is given.

    Fatal error: Uncaught Error: error_reporting(): Argument #1 ($error_level) must be of type ?int, string given
    in /wp-content/plugins/assistant/backend/src/System/View.php on line 53
    
    Call stack:
    
    error_reporting()
    wp-content/plugins/assistant/backend/src/System/View.php:53
    FL\A\S\View::render_to_string()
    wp-content/plugins/assistant/backend/src/System/View.php:74
    FL\A\S\View::render()
    wp-content/plugins/assistant/backend/src/Hooks/Actions/OnEditUserProfile.php:45
    FL\A\H\A\OnEditUserProfile::__invoke()
    wp-includes/class-wp-hook.php:292
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:316
    WP_Hook::do_action()
    wp-includes/plugin.php:484
    do_action()
    wp-admin/user-edit.php:812
    require_once()
    wp-admin/profile.php:18

    I have disabled the plugin and the site works as expected. Dev setup in WP 5.7.2, PHP 8.0.7, Litespeed Sever.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Editing Profile page thows PHP error’ is closed to new replies.