A non well formed numeric value encountered

  • Author
    Posts
  • #91159

    We have just switched our website (which is still under development and not available for general viewing at this time) to use php 7.3 and are now getting the following in the error log:
    PHP Notice: A non well formed numeric value encountered in /home/axessfoto/public_html/wp-content/themes/anima/includes/custom-styles.php on line 596
    The reported line is:
    header-page-title .entry-title { font-size: <?php echo absint( $anima_ftitlessize – 50 ) ?>%;
    Has anyone else seen this?

    Website: www.axessfoto.com

    #91262

    Rightly or wrongly (my apologies to anybody upset by my doing this), I have found that adding “(int)” has solved the “problem” …

    #header-page-title .entry-title { font-size: <?php echo absint( (int) $anima_ftitlessize – 50 ) ?>%;

    #91665
    Zed
    Cryout Creations mastermind

    Which theme version are you using on the site?

    Is this a fresh theme installation or have you updated (at some point in time) from an older theme version?


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #94184
    Zed
    Cryout Creations mastermind

    Actually we’ve tracked this down to an incorrect data value (changing its type from number to string) in the options defaults. We’ll get it sorted out in the upcoming updates.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘A non well formed numeric value encountered’ is closed to new replies.