• I’m seeing this in the Web error log for the entire site after updating the plugin to 11.1.3 (latest release at the time of writing):

    PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function monsterinsights_clear_snoozed_on_login(), 1 passed in <webtree>/wp-includes/class-wp-hook.php on line 341 and exactly 2 expected in <webtree>/wp-content/plugins/google-analytics-for-wordpress/includes/frontend/frontend.php:27

    A quick and dirty fix (which I’ve had to do with the fail2ban plugin too) is to set $user to be ” in the monsterinsights_clear_snoozed_on_login function header (line 27 of includes/frontend/frontend.php):

    function monsterinsights_clear_snoozed_on_login( $user_login, $user = ” ) {

    I don’t know if you’ve got a better fix for this, but this stopped the fatal error for me.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.