• PHP Fatal error: Uncaught TypeError: implode():
    Argument #2 ($array) must be of type ?array, string given
    in […]/crayon-syntax-highlighter/util/crayon_util.class.php:73

    Solution: you should invert the parameters, from:
    $lines = implode($lines, $delimiter);
    to:
    $lines = implode($delimiter, $lines);

  • The topic ‘PHP 8 fatal error’ is closed to new replies.