Warning (2) : file_get_contents(http://ipinfo.io/216.73.216.153): Failed to open stream: HTTP request failed! HTTP/1.1 429 Too Many Requests [in /home/whowhatwhere/public_html/src/Controller/AppController.php, line 86]
Warning (2) : file_get_contents(https://www.iplocate.io/api/lookup/216.73.216.153) [<a href='https://secure.php.net/function.file-get-contents'>function.file-get-contents</a>]: Failed to open stream: HTTP request failed! HTTP/1.1 429 Too Many Requests [in /home/whowhatwhere/public_html/src/Controller/AppController.php, line 96]
Warning (512) : Unable to emit headers. Headers sent in file=/home/whowhatwhere/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=36 [in /home/whowhatwhere/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/whowhatwhere/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /home/whowhatwhere/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 164]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/whowhatwhere/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /home/whowhatwhere/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: json_decode(): Argument #1 ($json) must be of type string, bool given

json_decode(): Argument #1 ($json) must be of type string, bool given 📋

TypeError
Toggle Vendor Stack Frames
            ];
        } else {
            $ip $this->get_client_ip();
            $ipInfo file_get_contents('https://www.iplocate.io/api/lookup/' $ip);
            $location json_decode($ipInfotrue);
            $userLocation = [
                'city'     => $location['city'],
                'state'    => $location['subdivision'],
                'zip_code' => $location['postal_code'],
Error in: ROOT/src/Controller/AppController.php, line 97

If you want to customize this error message, create templates/Error/error500.php