Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /var/www/html/modules/appagebuilder/classes/ApPageSetting.php:400
Stack trace:
#0 /var/www/html/modules/appagebuilder/classes/ApPageSetting.php(400): fwrite()
#1 /var/www/html/modules/appagebuilder/classes/shortcodes/ApGenCode.php(110): ApPageSetting::writeFile()
#2 /var/www/html/modules/appagebuilder/classes/shortcodes/ApGenCode.php(76): ApGenCode->generateFile()
#3 /var/www/html/modules/appagebuilder/classes/shortcodes.php(515): ApGenCode->prepareFontContent()
#4 /var/www/html/modules/appagebuilder/classes/ApShortCodesBuilder.php(77): ApShortCodeBase->fontContent()
#5 [internal function]: ApShortCodesBuilder::doShortcodeTag()
#6 /var/www/html/modules/appagebuilder/classes/ApShortCodesBuilder.php(55): preg_replace_callback()
#7 /var/www/html/modules/appagebuilder/classes/shortcodes.php(388): ApShortCodesBuilder::doShortcode()
#8 /var/www/html/modules/appagebuilder/classes/ApShortCodesBuilder.php(77): ApShortCodeBase->fontContent()
#9 [internal function]: ApShortCodesBuilder::doShortcodeTag()
#10 /var/www/html/modules/appagebuilder/classes/ApShortCodesBuilder.php(55): preg_replace_callback()
#11 /var/www/html/modules/appagebuilder/classes/shortcodes.php(388): ApShortCodesBuilder::doShortcode()
#12 /var/www/html/modules/appagebuilder/classes/ApShortCodesBuilder.php(77): ApShortCodeBase->fontContent()
#13 [internal function]: ApShortCodesBuilder::doShortcodeTag()
#14 /var/www/html/modules/appagebuilder/classes/ApShortCodesBuilder.php(55): preg_replace_callback()
#15 /var/www/html/modules/appagebuilder/classes/ApShortCodesBuilder.php(366): ApShortCodesBuilder::doShortcode()
#16 /var/www/html/modules/appagebuilder/classes/ApPageBuilderModel.php(171): ApShortCodesBuilder->parse()
#17 /var/www/html/modules/appagebuilder/appagebuilder.php(2590): ApPageBuilderModel->parseData()
#18 /var/www/html/modules/appagebuilder/appagebuilder.php(2563): APPageBuilder->getWidgetVariables()
#19 /var/www/html/classes/Hook.php(1088): APPageBuilder->renderWidget()
#20 /var/www/html/classes/Hook.php(1019): HookCore::coreRenderWidget()
#21 /var/www/html/config/smarty.config.inc.php(201): HookCore::exec()
#22 /var/www/html/classes/Smarty/SmartyLazyRegister.php(81): smartyHook()
#23 /var/www/html/var/cache/dev/smarty/compile/classic_childlayouts_layout_left_column_tpl/ff/76/3f/ff763fc59b0a34087c3937b5aa481074ed4b2dad_2.file.header.tpl.php(130): SmartyLazyRegister->__call()
#24 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_1978124075687769c4d65ee7_53675085->callBlock()
#25 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#26 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#27 /var/www/html/var/cache/dev/smarty/compile/classic_childlayouts_layout_left_column_tpl/ff/76/3f/ff763fc59b0a34087c3937b5aa481074ed4b2dad_2.file.header.tpl.php(36): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#28 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687769c4d68243_47157177()
#29 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#30 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#31 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#32 /var/www/html/var/cache/dev/smarty/compile/classic_childlayouts_layout_left_column_tpl/92/a1/2e/92a12edf31fa9144298fabe864f6d20a3afacb8c_2.file.layout-both-columns.tpl.php(196): Smarty_Internal_Template->_subTemplateRender()
#33 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_1474691774687769c4cf6f49_98833397->callBlock()
#34 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#35 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#36 /var/www/html/var/cache/dev/smarty/compile/classic_childlayouts_layout_left_column_tpl/92/a1/2e/92a12edf31fa9144298fabe864f6d20a3afacb8c_2.file.layout-both-columns.tpl.php(68): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#37 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687769c4cfebb7_84990753()
#38 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#39 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#40 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#41 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender()
#42 /var/www/html/var/cache/dev/smarty/compile/classic_childlayouts_layout_left_column_tpl/fd/01/3d/fd013d3bafe38235cebc8e93254241c826e645ba_2.file.layout-left-column.tpl.php(38): Smarty_Internal_Runtime_Inheritance->endChild()
#43 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687769c4cf1213_63584473()
#44 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#45 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#46 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#47 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender()
#48 /var/www/html/var/cache/dev/smarty/compile/classic_childlayouts_layout_left_column_tpl/f2/9c/53/f29c5324ac0a3535468eef931aafdd687e286ade_2.file.product-list.tpl.php(44): Smarty_Internal_Runtime_Inheritance->endChild()
#49 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687769c4ce9b23_92514990()
#50 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#51 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#52 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#53 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender()
#54 /var/www/html/var/cache/dev/smarty/compile/classic_childlayouts_layout_left_column_tpl/ac/a2/23/aca2231c97396f63efef205fc38ddd5605c5ee22_2.file.category.tpl.php(40): Smarty_Internal_Runtime_Inheritance->endChild()
#55 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687769c4cdd726_00737795()
#56 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#57 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#58 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#59 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#60 /var/www/html/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch()
#61 /var/www/html/classes/controller/FrontController.php(771): SmartyDev->fetch()
#62 /var/www/html/classes/controller/FrontController.php(753): FrontControllerCore->smartyOutputContent()
#63 /var/www/html/classes/controller/Controller.php(339): FrontControllerCore->display()
#64 /var/www/html/classes/Dispatcher.php(510): ControllerCore->run()
#65 /var/www/html/index.php(28): DispatcherCore->dispatch()
#66 {main}
thrown in /var/www/html/modules/appagebuilder/classes/ApPageSetting.php on line 400