---
site_name: WPlama
site_description: "Správa, opravy a vývoj WordPress webů a e-shopů"
site_url: https://www.wplama.cz
contact_email: info@wplama.cz

title: PHP warningy
url: https://www.wplama.cz/dotaz/php-warningy/
date: 2017-05-15
modified: 2018-05-03
type: dwqa-question
---

[Ostatní](https://www.wplama.cz/poradna/?tema=ostatni)

# PHP warningy

MI **Mike** 15. 5. 2017 [2 odpovědi](https://www.wplama.cz/dotaz/php-warningy/#odpovedi)

Zdravim, mam problem – php mne hazi nasleduji warningy:

Warning: A non-numeric value encountered in …/www/wp-content/themes/Divi/functions.php on line 2440

---

-zde na danem radku v souboru je:

2439- $wp_customize->add_setting( ‚et_divi[widget_header_font_size]‘, array(
**2440- ‚default‘ => et_get_option( ‚body_header_size‘ * .6, ’18‘ ),**

---

Warning: A non-numeric value encountered in /web/htdocs3 / yoda_pizzacz/home/www/wp-content/themes/Divi/functions.php on line 5841

---

radek 5841 – **$widget_header_font_size = intval( et_get_option( ‚widget_header_font_size‘, intval( et_get_option( ‚body_header_size‘ * .6, ’18‘ ) ) ) );**
Poradíte prosím? Díky

## Odpovědi 2

ME **me** 17. 5. 2017

delete * .6 and it works.

MA **Martin** 3. 5. 2018

Zdravím, mám stejný problém:

Warning: A non-numeric value encountered in /www/doc/www.adcz.cz/www/wp-content/themes/vlog/core/template-functions.php on line 236

a na osudném řádku je:

$meta = function_exists( 'the_views' ) ? number_format_i18n( absint( str_replace( $thousands_sep, '', intval( get_post_meta( get_the_ID(), 'views', true )) ) + vlog_get_option( 'views_forgery' ) ) ) . ' '.__vlog( 'views' ) : '';

nevíte kde by mohla být chyba?

Děkuji

Přidat odpověď

Přidat odpověď [Zrušit odpověď na komentář](https://www.wplama.cz/dotaz/php-warningy/#respond)