• Hi,

    WP Activity log plugin is throwing the following fatal error with the latest release causing my website to crash. Everything works fine after I disable the plugin. Please check.

    [18-Mar-2025 10:02:46 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “my_wp_die_handler_function” not found or invalid function name in /home4/techtel1/public_html/.website_2f2b7df5/wp-includes/class-wp-hook.php:324 Stack trace: #0 /home4/techtel1/public_html/.website_2f2b7df5/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘_default_wp_die…’, Array) #1 /home4/techtel1/public_html/.website_2f2b7df5/wp-includes/functions.php(3821): apply_filters(‘wp_die_handler’, ‘_default_wp_die…’) #2 /home4/techtel1/public_html/.website_2f2b7df5/wp-content/plugins/wp-security-audit-log/classes/notification/class-notifications.php(1031): wp_die(‘You do not have…’) #3 /home4/techtel1/public_html/.website_2f2b7df5/wp-content/plugins/wp-security-audit-log/classes/notification/class-notifications.php(290): WSAL\Views\Notifications::build_in_check_and_save(Array) #4 /home4/techtel1/public_html/.website_2f2b7df5/wp-content/plugins/wp-security-audit-log/classes/class-wp-security-audit-log.php(478): WSAL\Views\Notifications::init() #5 /home4/techtel1/public_html/.website_2f2b7df5/wp-content/plugins/wp-security-audit-log/classes/class-wp-security-audit-log.php(404): WpSecurityAuditLog::init_freemius() #6 /home4/techtel1/public_html/.website_2f2b7df5/wp-content/plugins/wp-security-audit-log/classes/class-wp-security-audit-log.php(272): WpSecurityAuditLog::init_hooks() #7 /home4/techtel1/public_html/.website_2f2b7df5/wp-includes/class-wp-hook.php(324): WpSecurityAuditLog::setup(”) #8 /home4/techtel1/public_html/.website_2f2b7df5/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #9 /home4/techtel1/public_html/.website_2f2b7df5/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /home4/techtel1/public_html/.website_2f2b7df5/wp-settings.php(559): do_action(‘plugins_loaded’) #11 /home4/techtel1/public_html/.website_2f2b7df5/wp-config.php(108): require_once(‘/home4/techtel1…’) #12 /home4/techtel1/public_html/.website_2f2b7df5/wp-load.php(50): require_once(‘/home4/techtel1…’) #13 /home4/techtel1/public_html/.website_2f2b7df5/wp-cron.php(46): require_once(‘/home4/techtel1…’)

    Thanks,

    Vinita

    • This topic was modified 5 days, 20 hours ago by vinitabansal.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Lucian Padureanu

    (@lucianwpwhite)

    Hello @vinitabansal,

    I’m really sorry to hear about this experience with the plugin!

    After reviewing the error message, we can confirm that the issue is not caused by the WP Activity Log plugin itself but rather by a custom modification on your site or WordPress installation. Specifically, the fatal error occurs because WordPress is attempting to use a custom wp_die handler function (my_wp_die_handler_function), which is either missing or incorrectly defined.

    To clarify, this function my_wp_die_handler_function is not part of WP Activity Log and has never been included in our plugin. Our plugin calls wp_die() as part of a standard WordPress permissions check, but it appears that another plugin or custom code has overridden the wp_die_handler setting, replacing it with an invalid function name. This is what’s ultimately causing the fatal error.

    To pinpoint the source of the issue, I recommend testing this on a staging site by temporarily disabling all other plugins except for WP Activity Log. Then, re-enable them one by one while checking for the error. This should help identify the conflicting plugin or custom code responsible for the issue.

    Let us know how it goes, and we’ll be happy to assist further if needed!

    Thread Starter vinitabansal

    (@vinitabansal)

    Thanks for your response Lucian. I’ll check this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.