• Hi,

    I am getting Warnings from the cloudflare plugin when I import images. The message i get each time is:

    PHP Warning: htmlentities() expects parameter 1 to be string, array given in /wp-content/plugins/cloudflare/cloudflare.php on line 47

    I am using version 1.3.24 of the plugin.

    https://wordpress.org/plugins/cloudflare/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Do you know how to reproduce this warning consistently? If so can you tell me so I can try to reproduce on my development environment?

    Thanks,
    John

    Hey guys,

    I’m getting the same problem and can reproduce it. It occurs everytime I regenerate plugins and then the new images were optimized through ewww image optimizer. The referrer in the logs look something like this: wp-admin/admin-ajax.php?action=wp_ewwwio_media_optimize&nonce=a6a2d6c395

    Hope that helps and brings a possible fix for this problem

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

The topic ‘PHP Warning: htmlentities() message when importing new image’ is closed to new replies.