• Resolved onoxin

    (@onoxin)


    Hi,

    I am getting this error in my debug log very regularly

    [23-Apr-2021 12:49:50 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/customer/www/(SITEURL)/public_html/wp-content/plugins/lightbox-photoswipe/lightbox-photoswipe.php on line 705

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    I can provide a workaround for this – however this warning is strange, as this is caused by trying to access the image size information. At this point this information was either correctly read from the cache or the image itself or the plugin already realized, that the image size can not be extracted and should just go on without any warning.

    Please also check if you have damaged images on your site or links to JPG oder PNG images which are in fact not valid JPG or PNG but some other format.

    Plugin Author Arno Welzel

    (@awelzel)

    Release 3.1.12 should fix this message.

    Thread Starter onoxin

    (@onoxin)

    Great thank you Arno. I’ve downloaded this and will check tomorrow to give time for the error log to run

    Thanks so much for the quick response

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Bool Error’ is closed to new replies.