Title: PHP Warning: Undefined array key &#8220;ao_post_preload
Last modified: April 20, 2022

---

# PHP Warning: Undefined array key “ao_post_preload

 *  Resolved [mondalaci](https://wordpress.org/support/users/mondalaci/)
 * (@mondalaci)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-ao_post_preload/)
 * I’m running Autoptimize 3.0.3, I keep monitoring the PHP errors and warnings 
   of our site, and the following entry appeared in the log yesterday:
 * `2022/04/19 14:19:14 [error] 816#816: *82394 FastCGI sent in stderr: "PHP Warning:
   Undefined array key "ao_post_preload" in /var/www/ultimatehackingkeyboard.com/
   wordpress/wp-content/plugins/autoptimize/classes/autoptimizeMetabox.php on line
   120" while reading response header from upstream, client: 172.68.132.169, server:
   ultimatehackingkeyboard.com, request: "GET /wordpress/wp-admin/post.php?post=
   29966&action=edit HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fastcgi/php-
   fastcgi.socket:", host: "ultimatehackingkeyboard.com", referrer: "https://ultimatehackingkeyboard.
   com/knowledgebase/the-leds-of-the-uhk-60-v2-flicker-now-what"`
 * I’m running PHP 8.0.8

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-ao_post_preload/#post-15573909)
 * this [has been fixed in the beta-version](https://github.com/futtta/autoptimize/commit/0a925fa77f9985a875e9e9966eef80bb73942bab)
   and will be in the next version (no eta yet), but if you want you can [download the beta from github](https://github.com/futtta/autoptimize/archive/refs/heads/beta.zip)
   and install instead of 3.0.3 to test 🙂
 * frank
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-ao_post_preload/#post-15620820)
 * FYI: I just pushed out 3.0.4 which includes the fix mentioned 🙂
 * have a nice weekend!
    frank
 *  Thread Starter [mondalaci](https://wordpress.org/support/users/mondalaci/)
 * (@mondalaci)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-ao_post_preload/#post-15623273)
 * Thanks so much for the heads-up, Frank!
 * Just updated 🙂

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

The topic ‘PHP Warning: Undefined array key “ao_post_preload’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [mondalaci](https://wordpress.org/support/users/mondalaci/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-ao_post_preload/#post-15623273)
 * Status: resolved