Mobile app not working

Hello,
After upgrading my store, the mobile app is not working and showing a message:
" STORE CLOSED
Sorry, the store is temporarily closed for maintenance." (Screenshot attached).

Anyone faced the same issue? how to solve it? appreciate your help.

On upgrade your store is automatically closed. Navigate to the shopfront tab in your admin panel and toggle the switch to open.

If that doesn’t do the trick check the error_log file in the home directory of your instalation for any clues. If you post the last few entries here someone may be able to help.

1 Like

Thank you for your reply,
Actually the store is open and working normally on any explorer. only the app is not working.
Most of the errors like this:

/app/lib/vendor/smarty/smarty/libs/plugins/function.math.php on line 76
this repeated many many times

/var/cache/templates/abt__unitheme2/086a8012c667a7281705cc9c1c20773408b99f4c_2.tygh.abt__ut2_dropdown_horizontal_mwi.tpl.php on line 204
/var/cache/templates/abt__unitheme2/5d550d552e04bc321c1c4194ee176f7cec22c219_2.tygh.three_level_columns.tpl.php on line 233
var/cache/templates/abt__unitheme2/5d550d552e04bc321c1c4194ee176f7cec22c219_2.tygh.three_level_columns.tpl.php:234
Stack trace:
#0 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64030fa3574f87_07350263(Object(Smarty_Internal_Template))
#1 app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#2 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#3 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#4/var/cache/templates/abt__unitheme2/95a7834a7e21680fee58869e43296d2d638f8817_2.tygh.column_filling.tpl.php(105): Smarty_Internal_Template->_subTemplateRender(‘tygh:blocks/men…’, NULL, NULL, 0, 3600, Array, 0, true)
#5 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64030fa34692d1_26429275(Object(Smarty_Internal_Template))
#6 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#7/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#8 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#9/var/cache/templates/abt__unitheme2/086a8012c667a7281705cc9c1c20773408b99f4c_2.tygh.abt__ut2_dropdown_horizontal_mwi.tpl.php(205): Smarty_Internal_Template->_subTemplateRender(‘tygh:blocks/men…’, NULL, NULL, 0, 3600, Array, 0, true)
#10 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64030f693dd314_12723364(Object(Smarty_Internal_Template))
#11 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#12 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#13 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#14/var/cache/templates/abt__unitheme2/8b5e19c762de601d312ea2e924056ec363a536f4_2.tygh.categories_dropdown_horizontal.tpl.php(38): Smarty_Internal_Template->_subTemplateRender(‘tygh:blocks/abt…’, NULL, NULL, 0, 3600, Array, 0, true)
#15 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64030fa3430ea1_61582039(Object(Smarty_Internal_Template))
#16 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#17 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#18 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#19 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0)
#20 /app/Tygh/SmartyEngine/Core.php(81): Smarty_Internal_TemplateBase->fetch(‘/home//…’, NULL, NULL, NULL, false, true, false)
#21 //app/Tygh/BlockManager/RenderManager.php(681): Tygh\SmartyEngine\Core->fetch(‘blocks/categori…’)
#22 /app/Tygh/BlockManager/RenderManager.php(493): Tygh\BlockManager\RenderManager::renderBlockContent(Array, Array)
#23/app/Tygh/BlockManager/RenderManager.php(415): Tygh\BlockManager\RenderManager::renderBlock(Array, Array, ‘C’)
#24 app/Tygh/BlockManager/RenderManager.php(373): Tygh\BlockManager\RenderManager->renderBlocks(Array)
#25 /app/Tygh/BlockManager/RenderManager.php(230): Tygh\BlockManager\RenderManager->renderGrid(Array)
#26 /app/Tygh/BlockManager/RenderManager.php(200): Tygh\BlockManager\RenderManager->renderGrids(Array)
#27 /app/Tygh/BlockManager/RenderManager.php(164): Tygh\BlockManager\RenderManager->_renderContainer(Array)
#28/app/functions/smarty_plugins/function.render_location.php(52): Tygh\BlockManager\RenderManager->render()
#29/var/cache/templates/abt__unitheme2/547dfbbd6fff41ff09329a7f01c089fc01edc483_2.tygh.index.tpl.php(161): smarty_function_render_location(Array, Object(Smarty_Internal_Template))
#30 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64030f675b9020_79848087(Object(Smarty_Internal_Template))
#31 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#32 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#33 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#34 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0)
#35 /app/Tygh/SmartyEngine/Core.php(81): Smarty_Internal_TemplateBase->fetch(‘index.tpl’, NULL, NULL, NULL, false, true, false)
#36/app/functions/fn.control.php(632): Tygh\SmartyEngine\Core->fetch(‘index.tpl’)
#37 //index.php(25): fn_dispatch()
#38 {main}
[07-Mar-2023 17:41:35 Asia/Jerusalem] PHP Warning: math: illegal characters in /app/lib/vendor/smarty/smarty/libs/plugins/function.math.php on line 76
[07-Mar-2023 17:41:35 Asia/Jerusalem] PHP Warning: math: illegal characters in /app/lib/vendor/smarty/smarty/libs/plugins/function.math.php on line 76
[07-Mar-2023 17:42:55 Asia/Jerusalem] PHP Warning: math: illegal characters in /app/lib/vendor/smarty/smarty/libs/plugins/function.math.php on line 76
[07-Mar-2023 17:42:56 Asia/Jerusalem] PHP Warning: math: illegal characters in /app/lib/vendor/smarty/smarty/libs/plugins/function.math.php on line 76
[07-Mar-2023 17:42:56 Asia/Jerusalem] PHP Warning: Division by zero in /var/cache/templates/abt__unitheme2/086a8012c667a7281705cc9c1c20773408b99f4c_2.tygh.abt__ut2_dropdown_horizontal_mwi.tpl.php on line 204
[07-Mar-2023 17:42:56 Asia/Jerusalem] PHP Warning: Division by zero in /var/cache/templates/abt__unitheme2/5d550d552e04bc321c1c4194ee176f7cec22c219_2.tygh.three_level_columns.tpl.php on line 233
[07-Mar-2023 17:42:56 Asia/Jerusalem] DivisionByZeroError: Modulo by zero in /var/cache/templates/abt__unitheme2/5d550d552e04bc321c1c4194ee176f7cec22c219_2.tygh.three_level_columns.tpl.php:234
Stack trace:
#0 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64030fa3574f87_07350263(Object(Smarty_Internal_Template))
#1 /lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#2 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#3 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#4/var/cache/templates/abt__unitheme2/95a7834a7e21680fee58869e43296d2d638f8817_2.tygh.column_filling.tpl.php(105): Smarty_Internal_Template->_subTemplateRender(‘tygh:blocks/men…’, NULL, NULL, 0, 3600, Array, 0, true)
#5 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64030fa34692d1_26429275(Object(Smarty_Internal_Template))
#6 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#7 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#8 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#9/var/cache/templates/abt__unitheme2/086a8012c667a7281705cc9c1c20773408b99f4c_2.tygh.abt__ut2_dropdown_horizontal_mwi.tpl.php(205): Smarty_Internal_Template->_subTemplateRender(‘tygh:blocks/men…’, NULL, NULL, 0, 3600, Array, 0, true)
#10 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64030f693dd314_12723364(Object(Smarty_Internal_Template))
#11 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#12 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#13 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#14/var/cache/templates/abt__unitheme2/8b5e19c762de601d312ea2e924056ec363a536f4_2.tygh.categories_dropdown_horizontal.tpl.php(38): Smarty_Internal_Template->_subTemplateRender(‘tygh:blocks/abt…’, NULL, NULL, 0, 3600, Array, 0, true)
#15 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64030fa3430ea1_61582039(Object(Smarty_Internal_Template))
#16 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#17 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#18 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#19 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0)
#20 /app/Tygh/SmartyEngine/Core.php(81): Smarty_Internal_TemplateBase->fetch(‘/home//…’, NULL, NULL, NULL, false, true, false)
#21 //app/Tygh/BlockManager/RenderManager.php(681): Tygh\SmartyEngine\Core->fetch(‘blocks/categori…’)
#22 //app/Tygh/BlockManager/RenderManager.php(493): Tygh\BlockManager\RenderManager::renderBlockContent(Array, Array)
#23 //app/Tygh/BlockManager/RenderManager.php(415): Tygh\BlockManager\RenderManager::renderBlock(Array, Array, ‘C’)
#24 //app/Tygh/BlockManager/RenderManager.php(373): Tygh\BlockManager\RenderManager->renderBlocks(Array)
#25 /app/Tygh/BlockManager/RenderManager.php(230): Tygh\BlockManager\RenderManager->renderGrid(Array)
#26 /app/Tygh/BlockManager/RenderManager.php(200): Tygh\BlockManager\RenderManager->renderGrids(Array)
#27 /app/Tygh/BlockManager/RenderManager.php(164): Tygh\BlockManager\RenderManager->_renderContainer(Array)
#28 /app/functions/smarty_plugins/function.render_location.php(52): Tygh\BlockManager\RenderManager->render()
#29/var/cache/templates/abt__unitheme2/547dfbbd6fff41ff09329a7f01c089fc01edc483_2.tygh.index.tpl.php(161): smarty_function_render_location(Array, Object(Smarty_Internal_Template))
#30 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64030f675b9020_79848087(Object(Smarty_Internal_Template))
#31/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#32 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#33 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#34 /app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0)
#35 /app/Tygh/SmartyEngine/Core.php(81): Smarty_Internal_TemplateBase->fetch(‘index.tpl’, NULL, NULL, NULL, false, true, false)
#36 /app/functions/fn.control.php(632): Tygh\SmartyEngine\Core->fetch(‘index.tpl’)
#37/index.php(25): fn_dispatch()

Hello!

Please try to disable Development mode in the config of your installation and also error display in the PHP settings. If this is your live store, it is unsafe to show them to everyone and may scare off your customers with the broken design.

If it does not help you, please contact us via Help Desk on this case.