Inicio › Foros › Varios (seguridad, internet, ofimática, errores) › Notice A non well formed numeric value encountered in crayon_formatter.class.php › Respuesta a: Notice A non well formed numeric value encountered in crayon_formatter.class.php
01/06/2021 a las 19:04
#35772
alonsojpd
Superadministrador
Hola, puedes solucionar el error (warning) editando el fichero:
…/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php
Buscas las líneas:
$toolbar_height = $font_size * 1.5 . ‘px !important;’;
$info_height = $font_size * 1.4 . ‘px !important;’;
Y las modificas por estas otras:
$toolbar_height =(int)$font_size * 1.5 . ‘px !important;’;
$info_height = (int)$font_size * 1.4 . ‘px !important;’;
Con esto debería desaparecer el error.