Title: PHP error after update
Last modified: November 24, 2021

---

# PHP error after update

 *  [pesiiin](https://wordpress.org/support/users/pesiiin/)
 * (@pesiiin)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-error-after-update-13/)
 * Hi, after update to version 3.0.0+dev.72 there is error: “Warning: max(): Array
   must contain at least one element in /data/web/virtuals/267127/virtual/www/domains/
   phenomencollection.com/wp-content/plugins/age-gate/src/Helper/Status.php on line
   80” on top of every page. What can I do ? Thanx

Viewing 1 replies (of 1 total)

 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-error-after-update-13/#post-15102413)
 * Hi [@pesiiin](https://wordpress.org/support/users/pesiiin/),
 * I’ll have a look into this. It is only a warning so if this is a production server
   you should be able to turn them off on the server itself.
 * You can also roll back as dev.71 is still on the downloads page of the age gate
   site.
 * Thanks
    Phil

Viewing 1 replies (of 1 total)

The topic ‘PHP error after update’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Phil](https://wordpress.org/support/users/philsbury/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/php-error-after-update-13/#post-15102413)
 * Status: not resolved