Fatal error: Uncaught TypeError: array_values(): Argument #1 ($array) must be of type array, string given in /home/public/work.php:33
Stack trace:
#0 /home/public/work.php(33): array_values('error')
#1 {main}
thrown in /home/public/work.php on line 33