• Resolved quedus

    (@latamisrael)


    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)
  • Hi @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

    (@latamisrael)

    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.

    @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

    (@latamisrael)

    thanks!

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

The topic ‘errors’ is closed to new replies.