• Resolved yosbeda

    (@yosbeda)


    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

    • This topic was modified 6 years, 2 months ago by yosbeda.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ekaterir

    (@ekaterir)

    Hi @yosbeda,

    Thank you for catching and reporting that. It should be fixed now. Let me know if it worked for you.

    ekaterir

    Thread Starter yosbeda

    (@yosbeda)

    I’ve just tested 1.0.4.2 version, working as intended like 1.0.3.1 version.
    Thank you very much for your fast response and update.

    Regards,
    Yos

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTTP ERROR 500 while Deleting Media’ is closed to new replies.