Title: errors
Last modified: November 21, 2017

---

# errors

 *  Resolved [quedus](https://wordpress.org/support/users/latamisrael/)
 * (@latamisrael)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/errors-173/)
 * Hi I got this errors when updating a page or post, can you please advise?
 * Warning: Invalid argument supplied for foreach() in /home/xx/public_html/wp-content/
   plugins/hummingbird-performance/core/modules/class-module-page-caching.php on
   line 1018
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/xx/public_html/wp-content/plugins/hummingbird-performance/core/modules/
   class-module-page-caching.php:1018) in /home/xx/public_html/wp-admin/post.php
   on line 198
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/xx/public_html/wp-content/plugins/hummingbird-performance/core/modules/
   class-module-page-caching.php:1018) in /home/xx/public_html/wp-includes/pluggable.
   php on line 1216

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

 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/errors-173/#post-9705846)
 * Hi [@latamisrael](https://wordpress.org/support/users/latamisrael/),
 * That’s really strange… Have you modified any of the plugin files?
    Could you 
   please specify some details on your setup – what php version are you using, are
   you using the latest version of the plugin?
 * Best regards,
    Anton
 *  Thread Starter [quedus](https://wordpress.org/support/users/latamisrael/)
 * (@latamisrael)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/errors-173/#post-9707068)
 * i did not touch anything, and the plugin is using last version. and it seem to
   be related to page caching, since changing the “Page Types” solve partially the
   issue, and disable the caching solved everything.
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/errors-173/#post-9708921)
 * [@latamisrael](https://wordpress.org/support/users/latamisrael/),
 * I found the issue. It will be fixed in the next update. But if you want to fix
   it now, you can edit hummingbird-performance/core/modules/class-module-page-caching.
   php, on line 1016 after:
 * `$metas = get_the_terms( $post_id, $meta_key );`
 * add:
 *     ```
       if ( ! $metas ) {
           continue;
       }
       ```
   
 *  Thread Starter [quedus](https://wordpress.org/support/users/latamisrael/)
 * (@latamisrael)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/errors-173/#post-9714606)
 * thanks!

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

The topic ‘errors’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [quedus](https://wordpress.org/support/users/latamisrael/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/errors-173/#post-9714606)
 * Status: resolved