HTTP ERROR 500 while Deleting Media
-
After update to 1.0.4.1, I’am getting a HTTP ERROR 500 while deleting media file.
This is error logs from WP Debug:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function Cache_Sniper_Nginx::csnx_delete_current_page_cache_on_update(), 1 passed in /usr/local/www/mysite/wp-includes/class-wp-hook.php on line 286 and exactly 3 expected in /usr/local/www/mysite/wp-content/plugins/snipe-nginx-cache/cache-sniper-nginx.php:180 Stack trace: #0 /usr/local/www/mysite/wp-includes/class-wp-hook.php(286): Cache_Sniper_Nginx->csnx_delete_current_page_cache_on_update(5759) #1 /usr/local/www/mysite/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /usr/local/www/mysite/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /usr/local/www/mysite/wp-includes/post.php(5084): do_action('delete_post', 5759) #4 /usr/local/www/mysite/wp-admin/post.php(260): wp_delete_attachment(5759, true) #5 {main} thrown in /usr/local/www/mysite/wp-content/plugins/snipe-nginx-cache/cache-sniper-nginx.php on line 180
Above error doesnt exist on version 1.0.3.1.
Regards,
Yos
- The topic ‘HTTP ERROR 500 while Deleting Media’ is closed to new replies.