urlencode(): Argument #1 ($string) must be of type string, int given 📋

TypeError
Toggle Vendor Stack Frames
        
                     //处理获得 page
                     if ($tag!="")
                     {
                         $r_array=explode(urlencode($tag),$REQUEST_URI_);
                         if (count($r_array)<=1)
                         {
                                 $page=1;
                         }
Error in: ROOT/src/Controller/WebsitesController.php, line 131

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