Fatal error: Uncaught InvalidArgumentException: Input data must be an array. in /www/wwwroot/test.odi.cc/app/controllers/ProductController.php:11 Stack trace: #0 /www/wwwroot/test.odi.cc/app/controllers/ProductController.php(106): decodeHtmlEntitiesAndParseJson() #1 /www/wwwroot/test.odi.cc/core/Router.php(57): ProductController->productDetail() #2 /www/wwwroot/test.odi.cc/core/Router.php(20): Router->callAction() #3 /www/wwwroot/test.odi.cc/index.php(30): Router->dispatch() #4 {main} thrown in /www/wwwroot/test.odi.cc/app/controllers/ProductController.php on line 11