exception 'ErrorException' with message 'Invalid argument supplied for foreach()' in /home/kidmade_dev/rexframework/controllers/pcatalog/PCatalogManager.class.php:116
Stack trace:
#0 /home/kidmade_dev/rexframework/controllers/pcatalog/PCatalogManager.class.php(116): RexRunner::errorHandler(2, 'Invalid argumen...', '/home/kidmade_d...', 116, Array)
#1 /home/kidmade_dev/rexframework/templates_c/frontend/6eded663adb4bdc2946bd819191bec67b26218eb.rex.404.tpl.php(36): PCatalogManager::getCategoryTree(false)
#2 /home/kidmade_dev/rexframework/system/core/RexDisplay/smarty/lib/sysplugins/smarty_internal_templatebase.php(180): content_5bb1fae53af399_36353611(Object(Smarty_Internal_Template))
#3 /home/kidmade_dev/rexframework/system/core/RexDisplay/smarty/RexDisplaySmarty.php(45): Smarty_Internal_TemplateBase->fetch('home/404.tpl')
#4 /home/kidmade_dev/rexframework/system/core/RexDisplay/RexDisplay.class.php(252): RexDisplaySmarty->fetch('home/404.tpl')
#5 /home/kidmade_dev/rexframework/system/core/RexRunner.class.php(228): RexDisplay::fetchWorkspace('home', '404', 'default')
#6 /home/kidmade_dev/htdocs/index.php(26): RexRunner::run()
#7 {main}