{ "title": "ErrorException", "type": "ErrorException", "code": 500, "message": "foreach() argument must be of type array|object, null given", "file": "/home/mytopupb/public_html/app/Modules/Home/Views/sitemap/xml.php", "line": 7, "trace": [ { "file": "/home/mytopupb/public_html/app/Modules/Home/Views/sitemap/xml.php", "line": 7, "function": "errorHandler", "class": "CodeIgniter\\Debug\\Exceptions", "type": "->", "args": [ 2, "foreach() argument must be of type array|object, null given", "/home/mytopupb/public_html/app/Modules/Home/Views/sitemap/xml.php", 7 ] }, { "file": "/home/mytopupb/public_html/app/system/View/View.php", "line": 228, "args": [ "/home/mytopupb/public_html/app/Modules/Home/Views/sitemap/xml.php" ], "function": "include" }, { "file": "/home/mytopupb/public_html/app/system/View/View.php", "line": 231, "function": "CodeIgniter\\View\\{closure}", "class": "CodeIgniter\\View\\View", "type": "->", "args": [] }, { "file": "/home/mytopupb/public_html/app/system/Common.php", "line": 1190, "function": "render", "class": "CodeIgniter\\View\\View", "type": "->", "args": [ "Home\\Views\\sitemap\\xml", [], true ] }, { "file": "/home/mytopupb/public_html/app/Modules/Home/Controllers/Sitemap.php", "line": 19, "function": "view", "args": [ "Home\\Views\\sitemap\\xml", { "items": null } ] }, { "file": "/home/mytopupb/public_html/app/system/CodeIgniter.php", "line": 942, "function": "index", "class": "Home\\Controllers\\Sitemap", "type": "->", "args": [] }, { "file": "/home/mytopupb/public_html/app/system/CodeIgniter.php", "line": 502, "function": "runController", "class": "CodeIgniter\\CodeIgniter", "type": "->", "args": [ { "url": "https://mytopupbusiness.shop", "data": { "items": null } } ] }, { "file": "/home/mytopupb/public_html/app/system/CodeIgniter.php", "line": 361, "function": "handleRequest", "class": "CodeIgniter\\CodeIgniter", "type": "->", "args": [ null, { "handler": "file", "backupHandler": "dummy", "storePath": "/home/mytopupb/public_html/writable/cache/", "cacheQueryString": false, "prefix": "", "ttl": 60, "reservedCharacters": "{}()/\\@:", "file": { "storePath": "/home/mytopupb/public_html/writable/cache/", "mode": 416 }, "memcached": { "host": "127.0.0.1", "port": 11211, "weight": 1, "raw": false }, "redis": { "host": "127.0.0.1", "password": null, "port": 6379, "timeout": 0, "database": 0 }, "validHandlers": { "dummy": "CodeIgniter\\Cache\\Handlers\\DummyHandler", "file": "CodeIgniter\\Cache\\Handlers\\FileHandler", "memcached": "CodeIgniter\\Cache\\Handlers\\MemcachedHandler", "predis": "CodeIgniter\\Cache\\Handlers\\PredisHandler", "redis": "CodeIgniter\\Cache\\Handlers\\RedisHandler", "wincache": "CodeIgniter\\Cache\\Handlers\\WincacheHandler" } }, false ] }, { "file": "/home/mytopupb/public_html/index.php", "line": 43, "function": "run", "class": "CodeIgniter\\CodeIgniter", "type": "->", "args": [] } ]}