Title: logout error 500
Last modified: March 26, 2017

---

# logout error 500

 *  Resolved [pujifikupi](https://wordpress.org/support/users/pujifikupi/)
 * (@pujifikupi)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/logout-error-500/)
 * Hi,
 * every time i try to logout, i get error 500.
    In the logs i can find this:
 * 2017/03/26 15:46:01 [error] 17776#0: *2019 FastCGI sent in stderr: “PHP message:
   PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function VTPRD_Parent_Cart_Validation::
   vtprd_update_on_login_change(), 1 passed in /var/www/store/wp-includes/class-
   wp-hook.php on line 298 and exactly 2 expected in /var/www/store/wp-content/plugins/
   pricing-deals-for-woocommerce/woo-integration/vtprd-parent-cart-validation.php:
   3203
    Stack trace: #0 /var/www/store/wp-includes/class-wp-hook.php(298): VTPRD_Parent_Cart_Validation-
   >vtprd_update_on_login_change(”) #1 /var/www/store/wp-includes/class-wp-hook.
   php(323): WP_Hook->apply_filters(NULL, Array) #2 /var/www/store/wp-includes/plugin.
   php(453): WP_Hook->do_action(Array) #3 /var/www/store/wp-includes/pluggable.php(
   563): do_action(‘wp_logout’) #4 /var/www/store/wp-login.php(468): wp_logout()#
   5 {main} thrown in /var/www/store/wp-content/plugins/pricing-deals-for-woocommerce/
   woo-integration/vtprd-parent-cart-validation.php on line 3203″ while reading 
   response header from upstream, client: 127.0.0.1, server: [http://www.store.store](http://www.store.store),
   request: “GET /wp-login.php?action=logout&_wpnonce=xxxxx&redirect_to=https%3A%
   2F%2Fstore.store HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”,
   host: “store.store”, referrer: “[https://store.store/&#8221](https://store.store/&#8221);
 * 2017/03/26 15:46:28 [error] 17776#0: *2024 FastCGI sent in stderr: “PHP message:
   PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function VTPRD_Parent_Cart_Validation::
   vtprd_update_on_login_change(), 1 passed in /var/www/store/wp-includes/class-
   wp-hook.php on line 298 and exactly 2 expected in /var/www/store/wp-content/plugins/
   pricing-deals-for-woocommerce/woo-integration/vtprd-parent-cart-validation.php:
   3203
    Stack trace: #0 /var/www/store/wp-includes/class-wp-hook.php(298): VTPRD_Parent_Cart_Validation-
   >vtprd_update_on_login_change(”) #1 /var/www/store/wp-includes/class-wp-hook.
   php(323): WP_Hook->apply_filters(NULL, Array) #2 /var/www/store/wp-includes/plugin.
   php(453): WP_Hook->do_action(Array) #3 /var/www/store/wp-includes/pluggable.php(
   563): do_action(‘wp_logout’) #4 /var/www/store/wp-login.php(468): wp_logout()#
   5 {main} thrown in /var/www/store/wp-content/plugins/pricing-deals-for-woocommerce/
   woo-integration/vtprd-parent-cart-validation.php on line 3203″ while reading 
   response header from upstream, client: 127.0.0.1, server: [http://www.store.store](http://www.store.store),
   request: “GET /wp-login.php?action=logout&redirect_to=https%3A%2F%2Fstore.store&
   _wpnonce=xxxxxxxxx&redirect_to=https%3A%2F%2Fstore.store HTTP/1.1”, upstream:“
   fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “store.store”, referrer: “[https://store.store/wp-login.php?action=logout&_wpnonce=xxxxxxxx&redirect_to=https%3A%2F%2Fstore.store&#8221](https://store.store/wp-login.php?action=logout&_wpnonce=xxxxxxxx&redirect_to=https%3A%2F%2Fstore.store&#8221);

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [vark](https://wordpress.org/support/users/vark/)
 * (@vark)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/logout-error-500/#post-8958454)
 * Hi,
    I suspect that you are using PHP7. Pricing Deals is not currently compatible
   with PHP7. Best, Vark
 *  Thread Starter [pujifikupi](https://wordpress.org/support/users/pujifikupi/)
 * (@pujifikupi)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/logout-error-500/#post-8958691)
 * Hi,
 * thats true. Is php7 support planned for the near future?
 *  Plugin Author [vark](https://wordpress.org/support/users/vark/)
 * (@vark)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/logout-error-500/#post-8958741)
 * Hi,
    With the next big enhancement, 2-3 months away…
 *  [sourdoughjo](https://wordpress.org/support/users/sourdoughjo/)
 * (@sourdoughjo)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/logout-error-500/#post-9253347)
 * Any update regarding PHP 7 compatibility? Thanks
 *  Plugin Author [vark](https://wordpress.org/support/users/vark/)
 * (@vark)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/logout-error-500/#post-9253462)
 * Hi,
    I believe this issue has been resolved. Please give it a quick whirl and
   report back….. Best, Vark

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘logout error 500’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pricing-deals-for-woocommerce.svg)
 * [Pricing Deals for WooCommerce](https://wordpress.org/plugins/pricing-deals-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pricing-deals-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pricing-deals-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/pricing-deals-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pricing-deals-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pricing-deals-for-woocommerce/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [vark](https://wordpress.org/support/users/vark/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/logout-error-500/#post-9253462)
 * Status: resolved