1. HOT Divi Ultimate Header Plugin - Design Divi custom header globally in Divi Builder: https://header.diviultimate.com/
    Dismiss Notice

Non-numeric value encountered

Discussion in 'Get Help On Divi Wordpress' started by StaycT, Mar 11, 2019.

  1. StaycT

    StaycT New Member

    Hi Divi Community.
    New to the site. New to Divi, too.
    I recently took over managing a Divi themed website for a client- the website hadn't had any maintenance in years!
    I have an issue I am not sure how to remedy.
    Has anyone experienced this or can you lead me in the direction of how to fix?
    Warning: A non-numeric value encountered in ....../wp-content/themes/Divi/functions.php on line 5752

    The line reads:
    $widget_header_font_size = intval( et_get_option( 'widget_header_font_size', intval( et_get_option( 'body_header_size' * .6, '18' ) ) ) );

    Any help is much appreciated!!
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try to update Divi & Wordpress to the latest version?
  3. beachrunner

    beachrunner New Member

    Replace the line with this line

    $widget_header_font_size = intval( et_get_option( 'widget_header_font_size', intval( et_get_option( 'body_header_size' ) ) * .6, '18' ));