Skip to content
Advertisement

PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in

Can anyone help me to solve this issue? I’ve changed PHP version form 7.4 to 8 and got this error:


JavaScript

The code:

JavaScript

Advertisement

Answer

As @GetSet stated, the arguments in implode are the wrong way round.

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement