Title: PHP Error
Last modified: September 24, 2020

---

# PHP Error

 *  [WebCodePoet](https://wordpress.org/support/users/senjoralfonso/)
 * (@senjoralfonso)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/php-error-418/)
 * How to fix this?
 * Notice: Undefined index: age_gate in /var/www/vhosts/domain.de/httpdocs/wp-content/
   plugins/age-gate-user-registration/public/class-age-gate-user-registration-woocommerce.
   php on line 127
 * Fatal error: Uncaught TypeError: Argument 1 passed to GUMP::is_valid() must be
   of the type array, null given, called in /var/www/vhosts/domain.de/httpdocs/wp-
   content/plugins/age-gate-user-registration/public/class-age-gate-user-registration-
   woocommerce.php on line 130 and defined in /var/www/vhosts/domain.de/httpdocs/
   wp-content/plugins/age-gate/vendor/wixel/gump/gump.class.php:99 Stack trace: #
   0 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/age-gate-user-registration/
   public/class-age-gate-user-registration-woocommerce.php(130): GUMP::is_valid()#
   1 /var/www/vhosts/domain.de/httpdocs/wp-includes/class-wp-hook.php(287): Age_Gate_User_Registration_WooCommerce-
   >wooc_validate_extra_register_fields() #2 /var/www/vhosts/domain.de/httpdocs/
   wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #3 /var/www/vhosts/
   domain.de/httpdocs/wp-includes/plugin.php(478): WP_Hook->do_action() #4 /var/
   www/vhosts/domain.de/httpdocs/wp-content/plugins/woocommerce/ in /var/www/vhosts/
   domain.de/httpdocs/wp-content/plugins/age-gate/vendor/wixel/gump/gump.class.php
   on line 99

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

 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/php-error-418/#post-13451208)
 * Hi [@senjoralfonso](https://wordpress.org/support/users/senjoralfonso/),
 * Can you give me a bit of context? What are you doing when this happens etc?
 * That user registration plugin is in need of an overhaul which is at the testing
   phase, just gotta get it tested and released.
 * Thanks
    Phil
 *  Thread Starter [WebCodePoet](https://wordpress.org/support/users/senjoralfonso/)
 * (@senjoralfonso)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/php-error-418/#post-13451343)
 * Ah, sure! I try. I have bought this plugin: [https://codecanyon.net/item/wordpress-woocommerce-pos-system-point-of-sale/](https://codecanyon.net/item/wordpress-woocommerce-pos-system-point-of-sale/)
   and in the setup wizard this error happens and you can’t use the plugin. after
   disabling the age-gate it works.

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

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/age-gate/assets/icon-256x256.png?rev=2783003)
 * [Age Gate](https://wordpress.org/plugins/age-gate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/age-gate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/age-gate/)
 * [Active Topics](https://wordpress.org/support/plugin/age-gate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/age-gate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/age-gate/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [WebCodePoet](https://wordpress.org/support/users/senjoralfonso/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/php-error-418/#post-13451343)
 * Status: not resolved