Zugotopia - getimagesize gets 403 error (yes I'm uploading png and jpg only)

Discussion in 'SaleJunction E-Commerce WordPress Theme' started by chesty, Jun 19, 2017.

  1. chesty

    chesty New Member

    Joined:
    Jan 28, 2016
    Messages:
    2
    Likes Received:
    0
    Everything was working fine until I did a restore to my Wordpress Friday now my Zugotopia site throws this error I have deleted and re-uploaded the "offending" file several times.
    Permissions are all either 644 or 755 on all folders. Nothing changed on my side but now this error.

    http://terrywhitenmb.com

    Warning
    : getimagesize(http://terrywhitenmb.com/wp-content/uploads/sites/39/2017/06/vote2017.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home1/bloomafy/public_html/wp-content/themes/zugotopiapro/functions.php on line 284
     
  2. chesty

    chesty New Member

    Joined:
    Jan 28, 2016
    Messages:
    2
    Likes Received:
    0
    I will add that this function is in a multinetwork site. Many other themes have the same function but only zugotopia shows this error. I think it is looking at the file location and maybe(?) should be looking at url location?
     
  3. akbar92

    akbar92 Support Staff Staff Member

    Joined:
    Jun 3, 2017
    Messages:
    2,318
    Likes Received:
    49
    Hello,

    Since you have turned On the debug parameter of your WordPress that's why these notifications are displaying, that won't effect in the working of your site.

    You can simply turn off the wp-debug parameter from wp-config.php file. Just visit the file via FTP and do this: https://codex.wordpress.org/WP_DEBUG

    I hope you find the above information helpful.

    Thanks & Regards,
    Akbar
    InkThemes.com
     

Share This Page