- This topic has 3 replies, 2 voices, and was last updated 5 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support › Forums › Sunshine Pro Theme › Error in Header Warning: getimagesize():
Hi,
I have this site using WPML. Bypass Link to Site in Maintenance mode: http://www.ds-doha.de?bypass=sunshinesupport
On the German site everything is fine, but if you switch to English: http://www.ds-doha.de/en/
You get this Warning:
Warning: getimagesize(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/deutsche-schule-dohainfo/public_html/wordpress/wp-content/themes/sunshine-pro/lib/structure/header.php on line 119
Warning: getimagesize(http://www.ds-doha.de/wp-content/uploads/2016/11/Logo_x2_Deutsche_Schule_Doha-Arabisch.png): failed to open stream: no suitable wrapper could be found in /home/deutsche-schule-dohainfo/public_html/wordpress/wp-content/themes/sunshine-pro/lib/structure/header.php on line 119
Best Regards
Jesper Lindebjerg
Go to sunshine_header_logo() function in lib/structure/header.php file and replace getimagesize with @getimagesize
Perfect, works fine!
Your Support Forum don’t send e-mails to notify me anymore?
Even if I Check the “Notify me of follow-up replies via email” Checkbox. I have double checked e-mail and my Spam folder this morning, so only because I login and check the Topic I got the answer.
Thanks you,
Jesper
Thanks Paul, this morning I got a e-mail with your answer.
Please close this post.
Best Regards,
Jesper