• Resolved John

    (@dsl225)


    Hello,

    I follow-up from my post here, that seems to have been unnoticed so far, as I’m getting LOTS of those warnings DAILY:

    Warning: getimagesize(https://sitexyz/wp-content/uploads/2022/01/image1.jpg): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
    in /wp-content/plugins/wpvr/public/class-wpvr-public.php on line 715

    Everything seems to work correctly, 360 images are loading fine and I can’t see anything wrong at the website except that I had to exclude the page holding those images from my cache plugin as described here and that they don’t load in my backend dashboard anymore.

    Any clues?

    Thanks.

    PS: I found this that relates to this error, just in case it helps:
    https://www.parorrey.com/blog/php-development/resolve-function-getimagesize-failed-to-open-stream-403-forbidden-error/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hi @dsl225 ,

    We’re really sorry for the late reply.

    I’ve forwarded your issues to our developers to have a look and find a solution for these.

    I’ll get back to you as soon as I hear something from them

    Regards,

    Thread Starter John

    (@dsl225)

    Thanks for your feedback.
    In case you need access to the site please provide an email address where I can send it to you as it is a client site and cannot publish here.

    Hi @dsl225 ,

    We’ve added this to our current sprint and our developers are currently working on it.

    Hopefully, we’ll release an update of the plugin with a fix to this in less than a week.

    Thank you for your patience.

    Regards,

    Thread Starter John

    (@dsl225)

    Good to hear that, many thanks!

    Thread Starter John

    (@dsl225)

    Hello @jahirchowdhury
    There have been 2 consecutive updates since your reply above but this issue is still alive and I’m flooded with those error messages, HUNDREDS every single day.

    Can you please let me know whether this is something that you are planning to solve or if I should go shopping for another plugin?

    Thanks!

    Hi @dsl225 ,

    Sorry for getting back to you late.

    Our developers had a look at this issue, tried to re-create it on our end, and prepare a solution for it.

    Apparently, it turned out that the issue is not actually related to the plugin itself.

    This function getimagesize() is not delivered when the website’s SSL certificate is not valid.

    Here, the WordPress image URL protocol is “https” but your website’s SSL protocol is not certified, and that’s what caused the issue.

    You can contact your hosting provider to resolve this.

    A certified SSL should solve the issue.

    Let us know if you face any further issues with it.

    Regards,`

    Thread Starter John

    (@dsl225)

    Thanks for your feedback but there is a misunderstanding here.
    I never gave you the site’s URL where the issue appears as I had redacted the links above, so how do you know that the site’s SSL protocol is not certified??? (in fact the SSL protocol of this site IS indeed certified!)

    Other than that, you first state that you are preparing a solution for this issue and then you say that the problem does not relate to your plugin… Doesn’t really make sense.

    Can you please clarify?
    Thanks.

    Hi @dsl225 ,

    I understand and we’re sorry if we have created any misunderstandings.

    So, let me clear out everything first.

    In the beginning, we thought it was an issue with our plugin and we added the task to our current running work sprint.

    However, once we researched on it, there could be only one reason – a possible issue with SSL.

    There could be another possible reason behind this – when you uploaded the image on your site, your site didn’t have the SSL, which you added later.

    Or the complete opposite scenario.

    In either of these cases, the getimagesize function is showing errors for this mismatch.

    Now, since only you’re facing this issue, we couldn’t add the fix to the latest updates for all of our users.

    For you, we’ve prepared a custom version of the plugin.

    You can download it from here: https://workdrive.zohoexternal.com/external/a5c7c5303bf7f019352a917a71b4298b9951f05694f255fa831df173d6e158aa

    You can remove the previous version of the plugin from your site, clear the cache, and install this version to see if this solves the issue.

    Regards,

    Thread Starter John

    (@dsl225)

    Many thanks for this!

    “There could be another possible reason behind this – when you uploaded the image on your site, your site didn’t have the SSL, which you added later.”

    Yes, I think this happened as the website was moved from one host to another and there was probably a period when the SSL was not fully implemented.

    Now 2 questions:

    – wouldn’t it be more efficient to just delete all those 6 tours and re-add them again? Or just remove the 360 images from those tours and re-add them in there?
    – what will happen next if the custom version you made works fine? will I have to keep it or is it just a test? what will happen with future updates?

    Thanks again!

    Hi @dsl225 ,

    Sorry for getting back to you late since we were busy with the latest update.

    Here are the answers to your queries:

    -> It’ll be easier to re-add the images only. The hotspots will be in the same place. And you don’t need to re-create the tours.

    -> Right now, we don’t have the plan to release it for all the users. If the custom version works fine for you, you can add the request to our Roadmap or contact us on our website.

    We’ll see if we can provide you with any stable solution.

    Here is our roadmap: https://rextheme.com/wpvr-roadmap/

    Regards,

    Thread Starter John

    (@dsl225)

    Thanks but it’s still not clear for me.

    What does that sentence mean exactly, please?

    “-> It’ll be easier to re-add the images only. The hotspots will be in the same place. And you don’t need to re-create the tours.”

    – If I keep the tours, should I just remove the existing images and re-add them from the library or delete them from the library and re-upload them to the library and re-add them to the tours?

    Thanks.

    Thread Starter John

    (@dsl225)

    UPDATE:
    I saved the 360 images with new filenames and re-uploaded them to the media library and then replaced the previous files with those new ones in the tours but nothing changed, same warnings as before.

    This might mean that this issue doesn’t seem to relate to SSL as you suggested.

    It seems that my issue is the same as this one posted here as I’m also using a CDN for all images.

    Thread Starter John

    (@dsl225)

    UPDATE2: issue solved!

    The issue comes from iThemes Security with the feature called “Hackrepair.com Blacklist” (includes the HackRepair.com ban list developed by Jim Walker.). When this option is enabled it creates this issue and when disabling it there are no warnings any more.

    For me it’s solved but might want to check with hackrepair.com directly about why their lists block your tour images.

    Thanks for your help.

    Hi @dsl225 ,

    That’s great!

    We’re glad that your issue is resolved.

    We’ll definitely have a look at the Hackerpair to identify the issue.

    Regards,

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Warning: getimagesize – getting LOTS of them daily!’ is closed to new replies.