• Erik Molenaar

    (@erikmolenaar)


    Hi,

    When WP_DEBUG is on (which I always do on my development environments) I am getting this

    Notice: A non well formed numeric value encountered in /wp-content/plugins/remove-orphan-shortcodes/remove-orphan-shortcodes.php on line 32

    Could you please be so kind to fix this in a next version release?

    Thanks for this AWESOME plugin! It saved my day.

Viewing 1 replies (of 1 total)
  • Thread Starter Erik Molenaar

    (@erikmolenaar)

    This error can be fixed by adding a floating parameter to microtime() like microtime(1) on lines 30 + 32.

    If you use microtime() and set the get_as_float parameter you get a simple floating point number that is just what you need for a +1 calculation on line 32.

    $hack1 = md5( microtime(1) );
    $hack2 = md5( microtime(1) + 1 );

    Can you please fix this in a new version? Thanks for your awesomeness.

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