getimagesize() / Wrapper is disabled

Posted in: Newspaper
Post count: 74

Here are some lines from my debug file:


[26-May-2020 17:35:23 UTC] PHP Warning: getimagesize(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/wheredoi/public_html/wp-content/plugins/td-cloud-library/shortcodes/header/tdb_header_logo.php on line 792
[26-May-2020 17:35:23 UTC] PHP Warning: getimagesize(https://www.wheredoitakethekids.com/wp-content/uploads/2020/05/logo-272-90-300x31.png): failed to open stream: no suitable wrapper could be found in /home/wheredoi/public_html/wp-content/plugins/td-cloud-library/shortcodes/header/tdb_header_logo.php on line 792

If I enable allow_url_fopen, isn’t that security risk?

Post count: 35449

Hi,

For Warning: getimagesize =>
Please make sure that all the settings are like in our requirements, please follow the guide carefully
https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.

Please enable the option in PHP.Ini as you can see here: https://stackoverflow.com/questions/37531149/php-getimagesize-not-working-on-external-links That allow url is 0 on your side. You can ask your host to do this. Also this is the only solution for the moment, I will ask our developers about the allow_url_fopen security risk.

Thank you for your understanding!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.