MyBB Hacks

Full Version: Cool Codes (Syntax Highlighter)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10
Hi. My php version 7.1

But this error,

Type: 2
Folder: inc/highlighter.php (1006)
Error:
preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead

thanks.
Looks like this plugin won't work well under PHP7 or newer due to use of eval in preg_replace.  Updating would take some effort, so the plugin is kinda deprecated for now.
how to turn this to work in mybb latest version ?
Pages: 1 2 3 4 5 6 7 8 9 10
Reference URL's