• Hello,
    First of all thank you for your plugin, it is really great!
    I have a message in the log with the following example. can do for robots? (facebook, msn etc)

    Good day and thanks again 🙂
    French user

    21799: *16874 FastCGI sent in stderr: “PHP message: PHP Notice: Undefined index: resolution in /home/mysiteweb/public_html/wp-content/plugins/adaptive-images/adaptive-images-script.php on line 88” while reading response header from upstream, client: 157.55.39.161, server: mysiteweb.com, request: “GET /wp-content/uploads/2015/07/myimage.jpg HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm-mysiteweb.com.sock:”, host: “www.example.com”

    https://ww.wp.xz.cn/plugins/adaptive-images/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, Christophe,

    Thank you very much for kind words!

    I have spotted the point where the warning is produced and I will fix it in the next version. It most probably happens from clients that do not run Javascript, like robots, etc.

    Cheers,
    Takis

    Hi Takis,

    today still the same issue here.

    Could you please add an @ to line 88 so it won’t send the above mentioned notice:

    $cookie_resolution = @$_COOKIE[‘resolution’];

    br
    Heinz

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, Heinz,

    You are right! We have added the fix to the next version, but the next version has been postponed. We are going to release an intermediate version with the fix ASAP.

    Cheers,
    Takis

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

The topic ‘PHP Warning’ is closed to new replies.