Embed causing error

I have a strange error may caused by the embed plugin:

the debugger says:

Method Kirby\Embed\Html::__toString() must not throw an exception, caught Whoops\Exception\ErrorException: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

I dont want to enable allow_url_fopen,
what can I do,
thanks for help

Try to set the plugin cache to false:

c::set('plugin.embed.caching', false);
1 Like

Thank you @texnixe

The problem is the clients server,
but as far as I can see allow_url_fopen is since php 4.3 no security Issue anymore?!

Seems to work with caching false,
Thanks again for your help!