Viewing 8 replies - 1 through 8 (of 8 total)
  • I sadly have the same problem, it doesn’t seem to be compatible with PHP7 anymore. ??

    Thread Starter Hansaplastique

    (@hansaplastique)

    Yeah I ran into that issue as well – there seems to be a fix for it though:

    https://nowhere.dk/articles/using-wordpress-plugin-codecolorer-under-php-7

    and

    https://github.com/kpumuk/codecolorer

    But it sure looks like we should start looking for a replacement plugin ??

    If you happen to run into one; then please post it here.
    I guess the support for the right shortcodes is a must have, so we don’t have to update all our old posts.

    Will do, but I didn’t have that much code in my posts, so I guess I’ll just sit it out, sorry. ??

    Plugin Author Dmytro Shteflyuk

    (@kpumuk)

    Compatible with PHP7 since version 0.9.10

    Thread Starter Hansaplastique

    (@hansaplastique)

    Awesome! Thanks!

    I do still get tons of these errors in my error log (PHP 5.6.30):

    PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a
     valid callback, non-static method CodeColorerLoader::CallAfterHighlightCodeBlock() should not be called statically in /path/to/wp-includes/class-wp-hook.php on line 298
    
    PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a
     valid callback, non-static method CodeColorerLoader::CallBeforeHighlightCodeBlock() should not be called statically in /path/to/public_html/wp-includes/class-wp-hook.php on line 300

    I know I can disable the STRICT errors, but it does point to an issue and I’m not sure if PHP 7 will have the same opinion ??

    (thank you very much for the update though – it’s very much appreciated)

    Plugin Author Dmytro Shteflyuk

    (@kpumuk)

    Could you check the trunk version and see if it fixes the noise? https://downloads.www.ads-software.com/plugin/codecolorer.zip

    I have fixed a lot of code issues, but still testing it to make sure everything is still working ??

    Thread Starter Hansaplastique

    (@hansaplastique)

    Hi Dmytro,
    apologies for the late response, and thank you so much for the update.
    This did indeed fix the error log issue.
    Thanks again, it very much appreciated!

    Thanks, looks great again!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Is this plugin dead?’ is closed to new replies.