I got this error when I want to activate the plugin on Wordpres 5.2 :
Fatal error: Uncaught TypeError: Return value of FvCodeHighlighter\Diagnostics\Api\Response::parsedBody() must be of the type array, null returned in /wp-content/plugins/fv-code-highlighter/src/Diagnostics/Api/Response.php:27 Stack trace: #0 /wp-content/plugins/fv-code-highlighter/src/Version.php(48): FvCodeHighlighter\Diagnostics\Api\Response->parsedBody() #1 /wp-content/plugins/fv-code-highlighter/src/Installer.php(57): FvCodeHighlighter\Version::getLatestVersion() #2 /wp-content/plugins/fv-code-highlighter/src/Bootstrap.php(59): FvCodeHighlighter\Installer->hasUpdate() #3 /wp-content/plugins/fv-code-highlighter/src/Bootstrap.php(52): FvCodeHighlighter\Bootstrap->initInstaller() #4 /wp-content/plugins/fv-code-highlighter/fv-code-highlighter.php(52): FvCodeHighlighter\Bootstrap->bootstrap() #5 /wp-content/plugins/fv-code-highlighter/fv-code-highlighter.php(74): FvCodeHighlight in /wp-content/plugins/fv-code-highlighter/src/Diagnostics/Api/Response.php on line 27
Any one get the same ?
]]>Hi,
Thank you for this great plugin. Simple and best.
I have figured out a bug.
When I copy code from Firefox browser and paste it in any text editor (Notepad++ or atom), it creates empty lines after every code line.
Please provide solution to this.
Regards:
Ravi
Hi, thank you for this great plugin.
Can you please provide an option to set Tab Size.
I guess, its is currently set to 4. Can I change Tab size to 2.
Thank you:
Ravi
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘__FILE__’ (T_FILE), expecting identifier (T_STRING) in /wp-content/plugins/fv-code-highlighter/fv-code-highlighter.php on line 15
]]>I’ve looked through the source code, so I’m sure this is a bug and not malware…. but why is this plugin attempting to delete every file and directory in the file system root????
Holy Doodle.
Warning: unlink(/lib): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/media): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/usr): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/lost+found): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/dev): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/net): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/sbin): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/.autofsck): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/selinux): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/home): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/proc): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/sys): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/mnt): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/srv): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/.rnd): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/var): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/sandbox): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/etc): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/tmp): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/.pki): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/bin): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/.gnupg): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/root): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/opt): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/lib64): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/boot): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/misc): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
Warning: unlink(/cgroup): Permission denied in /var/lib/openshift/55090f96fcf933bf4800009b/app-root/runtime/repo/wp-content/plugins/fv-code-highlighter/classes/Cache.php on line 101
]]>
I’ve recently been alerted that on code listings where the backslash is featured, it actually is working as an escape key. For example, to get a backslash on its own, one needs to type \\ or else the single backslash will “disappear” (it will actually act as an escape on the following character).
Is this a bug or a feature?
My question is just that when copying & pasting some code one has to be careful right now and make sure that all backslashes are properly duplicated.
https://www.ads-software.com/extend/plugins/fv-code-highlighter/
]]>Hi,
This is not a bug report but a feature request…
I’ve been using many other syntax highlighters, but on one site where I’m a guest writer, this is what’s installed, and I was a bit frustrated that it only supports five languages (CSS, HTML, Javascript, PHP, XML). Is there a way to add more, or are further languages being planned?
Will at least this plugin allow other plugins to extend it, adding more languages, like SyntaxHighligther Evolved does?
https://www.ads-software.com/extend/plugins/fv-code-highlighter/
]]>i use the plugin more than 2 years and it’s working good with me but now i try to make update to my theme , i use bones wordpress everything working but no color enymore and the text so small
https://www.ads-software.com/extend/plugins/fv-code-highlighter/
]]>Hi. Awesome plugin ??
I was getting a php warning.
Warning: fopen(/2b436dd2aa07d4e15e1d6c38622410ff8cd822b1) [function.fopen]: failed to open stream: Permission denied in /home/thrive/public_html/wp-content/plugins/fv-code-highlighter/Includes/Cache.php `
Seems like $this->setCacheDir( realpath($cacheDir) . ‘/’ ); Cache.php line 28 is looking in the wrong place.
$this->setCacheDir( realpath($cacheDir) . ‘../’ ); fixed the issue.
https://www.ads-software.com/extend/plugins/fv-code-highlighter/
]]>Hello, sorry, the plugin fails with this 2 error codes:
Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 9 in /home/www/***/html/wp-content/plugins/fv-code-highlighter/FVCodeHighlighter.php on line 70
Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 15 in /home/www/***/html/wp-content/plugins/fv-code-highlighter/FVCodeHighlighter.php on line 358
Any suggestions?
]]>Hi,
You’re using has_cap in connection with user_level. This is depracated. Should better be a role. Ex. ‘administrator’.
—
Highlighting problems with code (language=php):
echo '<a href="'.some_fn().'">Text</a>';
Ends up in beeing highlightet as php-string, because the plugin can’t find the second ” and doesn’t highlight functions as php until there comes the second “.
Thanks!
—
Only a suggestion: plain text for copy/paste would be highly appreciated (via some ex. button). Thanks again!
https://www.ads-software.com/extend/plugins/fv-code-highlighter/
]]>