Warning: file_get_contents(https://tossdown.site/api//get_all_static_pages?restaurant=wokrock.pk&flag=1): failed to open stream: HTTP request failed! HTTP/1.1 502 Bad Gateway in /var/www/html/sites/ordrz.com/app/controllers/WebsiteController.php on line 504

Fatal error: Uncaught TypeError: json_decode() expects parameter 1 to be string, bool given in /var/www/html/sites/ordrz.com/app/controllers/WebsiteController.php:505 Stack trace: #0 /var/www/html/sites/ordrz.com/app/controllers/WebsiteController.php(505): json_decode() #1 [internal function]: WebsiteController->sitemapAction() #2 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod() #3 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch() #4 /var/www/html/sites/ordrz.com/public/index.php(51): Phalcon\Mvc\Application->handle() #5 {main} thrown in /var/www/html/sites/ordrz.com/app/controllers/WebsiteController.php on line 505