Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter saludcasera

    (@saludcasera)

    Deactivating the plugin fixes the problem.

    Any suggestions are still appreciated as I would like to use the plugin and in the future upgrade paid version as this plugin seems to be great.

    Hi,

    Could you share a pastebin link with the line of offending code referenced?

    Also, it’s not recommended to have WP_DEBUG set to true on a production site.

    Thanks,

    Gerroald

    Thread Starter saludcasera

    (@saludcasera)

    Thanks for your reply.

    Here is the error message which is now visible at saludcasera.com

    ——————-

    Warning: getimagesize(https://www.saludcasera.com/wp-content/uploads/2014/08/p73dz9cq.png) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/content/10/10862710/html/saludcasera/wp-content/themes/point/header.php on line 36

    Thread Starter saludcasera

    (@saludcasera)

    Here is a screen shot, since I can’t keep the plugin running due to error on the homepage :

    IMG :
    https://s8.postimg.org/7xxwx3vet/error_msg.png

    Hi,

    Could you actually track down the file “header.php” via FTP and post the code you find on line 36 and share it via https://pastebin.com so we can see what’s actually conflicting?

    Thanks,

    Gerroald

    Thread Starter saludcasera

    (@saludcasera)

    Ofcourse, do I have to do this with the plugin active?

    Thread Starter saludcasera

    (@saludcasera)

    Now I see this is a theme related issue.
    I believe there is no point in fixing it, as soon as I change the theme I might get the error again or a different one, and I am definitely changing it.

    Here is the link :
    https://pastebin.com/aUiYQJc0

    I’m having this problem too. I’m using the Avada theme, which is VERY popular – millions of sites use this theme. So this should be considered high priority.

    The latest version of iThemes Security, when enabled, definitely breaks the getimagesize() PHP function, at least on my server (which is a pretty standard cPanel/WHM CentOS box):

    In Avada theme the relevant line is:

    \Avada\framework\headers\header-v1.php (probably other similar files too depending on which header type you selected in Avada Options):

    <?php $image_size = getimagesize( $smof_data[‘logo’] ); ?>

    This is NOT a problem with the PHP option of allow_url_fopen option, as that is currently on, and when off the error is different anyway.

    I don’t know exactly what in iThemes Security is breaking this, but there you go. Personally I suspect something in the .htaccess but haven’t checked. I just disabled warnings for now and narrowed it down to this plugin.

    Please fix it, thanks!

    #Erik

    Thread Starter saludcasera

    (@saludcasera)

    This is the third pugling in few weeks that I see a problem and the developers just ignore it. I doubt they will fix it.

    There are many other security plugins out there with better support.

    Have faith. Avada is a very popular theme, and I’m sure they will realize that this plugin causing errors with it is a pretty serious issue.

    I have the same problem.

    failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /URL on line 116

    If I turn off iThemes Security the error disappears. I’d like to resolve this issue rather than simply turn off WP_DEBUG.

    I suspect I need to make a change in .htaccess but I don’t know what. Would appreciate any help.

    Thanks!

    Thank you. I read it but didn’t realize that it also applied to my plugin.

    Many thanks!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Error right on HomePage Header : Warning: getimagesize…’ is closed to new replies.