Notice (1024) : Undefined property: ApiController::$viewVars in /usr/share/nginx/html/shopify_apps/salespop/src/Controller/ApiController.php on line 53 [in /usr/share/nginx/html/shopify_apps/salespop/vendor/cakephp/cakephp/src/Controller/Controller.php, line 350]
Warning (512) : Unable to emit headers. Headers sent in file=/usr/share/nginx/html/shopify_apps/salespop/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /usr/share/nginx/html/shopify_apps/salespop/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/shopify_apps/salespop/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /usr/share/nginx/html/shopify_apps/salespop/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168]
Warning (2) : Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/shopify_apps/salespop/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /usr/share/nginx/html/shopify_apps/salespop/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
{ "message": "array_key_exists(): Argument #2 ($array) must be of type array, null given", "url": "\/api\/lojalevoa.myshopify.com\/data.json?callback=jsonp_callback_25350", "code": 500, "file": "\/usr\/share\/nginx\/html\/shopify_apps\/salespop\/src\/Controller\/ApiController.php", "line": 53 }