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

PHP 7.1 notice #408

Open
jerry1333 opened this Issue Mar 29, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@jerry1333
Copy link

jerry1333 commented Mar 29, 2017

Hi, when used with PHP 7.1 getting notice for posts where syntax highlite exists:

Notice: A non well formed numeric value encountered in /wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

To fixit need to change this two lines to:

$toolbar_height = $_font_size * 1.5 . 'px !important;';
$info_height = $_font_size * 1.4 . 'px !important;';

p0vidl0 added a commit to p0vidl0/crayon-syntax-highlighter that referenced this issue May 1, 2017

@pramodk

This comment has been minimized.

Copy link

pramodk commented Aug 5, 2017

same issue here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment