Crayon Syntax Highlighter plugin PHP support 8.0 and 8.1
The following guide describes how to fix Crayon Syntax Highlighter wordpress plugin.
The plugin is not php ready by default 8 so you have to fix it by yourself.
Basically, it's all about editing 1 file:
We edit the plugin file in our wordpress directory
1 | /wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php |
And about 73 We change the lines :
1 | $lines = implode($lines, $delimiter); |
We change to :
1 | $lines = implode($delimiter, $lines); |