Click on “no” in “auto-update-notice” throws PHP Fatal error
-
Hi,
a click on “no” in the “auto-enable-update-option” gives the following PHP error in our installation:[21-Feb-2024 10:54:38 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wc_prevent_dangerous_auto_updates(), 1 passed in /usr/www/users/username/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /usr/www/users/username/wp-content/plugins/woocommerce/includes/wc-core-functions.php:2276 Stack trace: #0 /usr/www/users/username/wp-includes/class-wp-hook.php(324): wc_prevent_dangerous_auto_updates(true) #1 /usr/www/users/username/wp-includes/plugin.php(205): WP_Hook->apply_filters(true, Array) #2 /usr/www/users/username/wp-content/plugins/limit-login-attempts-reloaded/core/Helpers.php(134): apply_filters('auto_update_plu...', true) #3 /usr/www/users/username/wp-content/plugins/limit-login-attempts-reloaded/core/Ajax.php(808): LLAR\Core\Helpers::is_block_automatic_update_disabled() #4 /usr/www/users/username/wp-includes/class-wp-hook.php(324): LLAR\Core\Ajax->toggle_auto_update_callback('') #5 /usr/www/users/username/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #6 /usr/www/users/username/wp-inc in /usr/www/users/username/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 2276
Best regards
Frieshansen
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Click on “no” in “auto-update-notice” throws PHP Fatal error’ is closed to new replies.