Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Php8.1 brokes #148

Open
chupinmaxime opened this issue Jan 9, 2023 · 0 comments
Open

Php8.1 brokes #148

chupinmaxime opened this issue Jan 9, 2023 · 0 comments

Comments

@chupinmaxime
Copy link

Since the servers switch to php8.1, geshi-parse_code() gives the following error:

Warning: Undefined array key "KEYWORDS" in /home/users/mc/metapost-exemples/geshi/geshi.php on line 2040

Fatal error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in /home/users/mc/metapost-exemples/geshi/geshi.php:2040 Stack trace: #0 /home/users/mc/metapost-exemples/geshi/geshi.php(2040): array_keys() #1 /home/users/mc/metapost-exemples/geshi/geshi.php(2182): GeSHi->build_parse_cache() #2 /home/users/mc/metapost-exemples/fonctions.php(15): GeSHi->parse_code() #3 /home/users/mc/metapost-exemples/exemple.php(21): metapostelement() #4 {main} thrown in /home/users/mc/metapost-exemples/geshi/geshi.php on line 2040
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant