Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /home/fransight/public_html/_libs/function.lib.php:1078
Stack trace:
#0 /home/fransight/public_html/_libs/function.lib.php(1078): fwrite()
#1 /home/fransight/public_html/_libs/function.lib.php(2306): curl_filesave()
#2 /home/fransight/public_html/_libs/smarty/templates_c/94618daf8e292566488f698f1d69d0ebeff3b99d_0.file._weather.tpl.php(27): print_weather()
#3 /home/fransight/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_68a75cda2468b7_56164038()
#4 /home/fransight/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#5 /home/fransight/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#6 /home/fransight/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#7 /home/fransight/public_html/_libs/smarty/templates_c/349fc2f64f9e6e5a1b15036726fb5619625dec3d_0.file._header.899.tpl.php(29): Smarty_Internal_Template->_subTemplateRender()
#8 /home/fransight/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_68b2972e877040_38994203()
#9 /home/fransight/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#10 /home/fransight/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#11 /home/fransight/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#12 /home/fransight/public_html/_libs/smarty/cache/f089082fbb01ad150d3efa27c52f5fbd39cd6b2c.site_nomenu_2t_header.tpl.php(33): Smarty_Internal_Template->_subTemplateRender()
#13 /home/fransight/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_68c4e5ca24ee77_12842599()
#14 /home/fransight/vendor/smarty/smarty/libs/sysplugins/smarty_template_cached.php(137): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#15 /home/fransight/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(212): Smarty_Template_Cached->render()
#16 /home/fransight/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#17 /home/fransight/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute()
#18 /home/fransight/public_html/_templates/_inc_header/news_header.php(134): Smarty_Internal_TemplateBase->display()
#19 /home/fransight/public_html/news/view/index.html(220): require_once('...')
#20 {main}
thrown in /home/fransight/public_html/_libs/function.lib.php on line 1078