Title: PHP 8.1 Undefined array key Error
Last modified: March 30, 2022

---

# PHP 8.1 Undefined array key Error

 *  Resolved [scottm1967](https://wordpress.org/support/users/scottm1967/)
 * (@scottm1967)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-8-1-undefined-array-key-error/)
 * These message keep appearing in the php error log. It is a centos server running
   php 8.1. Is there an update needed?
 * [30-Mar-2022 11:58:54 UTC] PHP Warning: Undefined array key “wphb-1” in /home/
   site/public_html/wp-content/plugins/hummingbird-performance/core/modules/minify/
   class-minify-group.php on line 781
    [30-Mar-2022 11:58:54 UTC] PHP Warning: Undefined
   array key “wphb-2” in /home/site/public_html/wp-content/plugins/hummingbird-performance/
   core/modules/minify/class-minify-group.php on line 781

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

 *  [Kris – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport13/)
 * (@wpmudevsupport13)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-8-1-undefined-array-key-error/#post-15511188)
 * Hi [@scottm1967](https://wordpress.org/support/users/scottm1967/)
 * I hope you are doing good today.
 * I could not replicate this issue on my lab site with PHP 8.1. Also please note
   this is only a warning, not an error and it should not harm the site.
 * I pinged our Hummingbird Team to review this. Thank you for your patience while
   we look into this further.
 * Kind Regards,
    Kris
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-undefined-array-key-error/#post-15582415)
 * Hello [@scottm1967](https://wordpress.org/support/users/scottm1967/) ,
 * I’m sorry for the delay on our side. We were trying to replicate this issue but
   with no luck.
    Would you be able to check what action on the site triggers this
   warning?
 * kind regards,
    Kasia
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-undefined-array-key-error/#post-15601203)
 * Hello [@scottm1967](https://wordpress.org/support/users/scottm1967/) ,
 * We haven’t heard from you for several days now, so it looks like you don’t have
   more questions for us.
 * Feel free to re-open this ticket if needed.
 * Kind regards
    Kasia
 *  [steckinsights](https://wordpress.org/support/users/steckinsights/)
 * (@steckinsights)
 * [4 years ago](https://wordpress.org/support/topic/php-8-1-undefined-array-key-error/#post-15683272)
 * I’m having the same error. This is what we see:
 * PHP message: PHP Warning: Undefined array key “fonts” in /…/public/wp-content/
   plugins/hummingbird-performance/admin/ajax/class-minify.php on line 89
 * Note “…” is a redaction for privacy.
 * Let me know what I can give you to help you re-create the problem.
 * We see it most places in the admin, but the page I’m on right now is: “/wp-admin/
   admin.php?page=wphb-minification&view=settings”
 *  Plugin Support [Nebu John – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport14/)
 * (@wpmudevsupport14)
 * [4 years ago](https://wordpress.org/support/topic/php-8-1-undefined-array-key-error/#post-15687968)
 * Hi [@steckinsights](https://wordpress.org/support/users/steckinsights/),
 * Sorry to know that you see the same error.
 * As mentioned in our responses above, we couldn’t replicate the issue at our end.
 * Could you please check what action on the site triggers this warning?
 * Please open a new ticket on your own to better follow up with the debugging process.
 * Kind Regards,
    Nebu John

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

The topic ‘PHP 8.1 Undefined array key Error’ is closed to new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [Nebu John – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport14/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/php-8-1-undefined-array-key-error/#post-15687968)
 * Status: resolved