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

The plug-in breaks the website when the plug-in is deactivated, it just starts to work #476

Open
JayantVarma opened this issue May 27, 2020 · 1 comment

Comments

@JayantVarma
Copy link

[27-May-2020 01:34:05 UTC] PHP Fatal error:  Uncaught Error: Call to a member function id() on array in /my/domain/location/site/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36
Stack trace:
#0 /my/domain/location/site/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter))
#1 [internal function]: CrayonFormatter::delim_to_internal(Array)
#2 /my/domain/location/site/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', 'print("message"...')
#3 /my/domain/location/site/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('print("message"...', Object(CrayonLang), Object(CrayonHighlighter))
#4 /my/domain/location/site/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighlighter->process()
#5 /my/domain/location/site/wp-co in /my/domain/location/site/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36```
@worldsdream
Copy link

Please use the following plugin. It’s a fork of crayon syntax highligther.

I have been using it for a while and I don’t have issues.

If you do have problems, let the developer know on the support page of the plugin.

https://wordpress.org/plugins/urvanov-syntax-highlighter/

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

2 participants