Warning: getimagesize failed error
-
Hi there,
I’m having some issues with my boss theme when using the ithemes security plugin. See error below:
=====================================================
Warning: getimagesize(https://www.careertiger.co.nz/wp-content/uploads/2015/07/CareerTiger-Weblogo-White.png) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /../../…/wp-content/themes/boss/buddyboss-inc/theme-functions.php on line 1091
Warning: Division by zero in /../../…/wp-content/themes/boss/buddyboss-inc/theme-functions.php on line 1092
=====================================================
So after some digging I found out that these lines in the htaccess is causing this issue.
RewriteRule ^.* – [F,L]
RewriteRule ^.* – [F]When I remove these lines, the error goes away and everything works fine.
But these lines will come back after saving new settings or after updates. Any advice on a permanent solution?
Cheers,
Ronald
- The topic ‘Warning: getimagesize failed error’ is closed to new replies.