• Resolved Vladimir Bender

    (@vovastik)


    wp-config.php: When I set define( 'WP_DEBUG', true );
    I received messages on pages with Syntax Highlighter:

    Notice: A non well formed numeric value encountered in /home/…/wp-content/plugins/urvanov-syntax-highlighter/class-urvanov-syntax-highlighter-formatter.php on line 118

    Notice: A non well formed numeric value encountered in /home/…/wp-content/plugins/urvanov-syntax-highlighter/class-urvanov-syntax-highlighter-formatter.php on line 119

    The solution is here: https://kirkizh.ru/2018/02/php7-non-numeric-value
    That worked for me:

    118 $toolbar_height = (int)$font_size * 1.5 . 'px !important;';
    119 $info_height = (int)$font_size * 1.4 . 'px !important;';
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author urvanov

    (@urvanov)

    I will try to add your fix with the next update.

    Plugin Author urvanov

    (@urvanov)

    Fixed in 2.8.9. Please update the plugin and check.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Notice: A non well formed numeric value’ is closed to new replies.