$ori_width = intval( $ori_width * $attrs[ 'height' ] / $ori_height );
I recommend the following modification in order not to read just the result of the calculation as integer, but each var as integer:
$ori_width = intval( $ori_width ) * intval( $attrs[ 'height' ] ) / intval( $ori_height );
In my case that modification had the warning vanish. As there are more and similar calcs in that script the same change might apply to them as well. It seems that $attrs[ ‘height’ ] provided a string which caused the warning before the intval comprising the complete math term came to effect.
best regards,
Sven
Is there a way to roll this update back?
Thanks
Ian
]]>PHP Warning: A non-numeric value encountered in /home/customer/www/liquidation.********.com/public_html/wp-content/plugins/woocommerce-colororimage-variation-select/includes/wcva_swatch_form_fields.php on line 762
Tried changing PHP version, no such luck.
]]>Hope this helps with your development.
]]>Thanks!
Marco
WordPress:
Plugins:
The Events Calendar: Version 5.3.1.1
The Events Calendar PRO: Version 5.2.1.2
WordPress 5.6
PHP 7.4
[Mon Feb 01 01:58:10.731730 2021] [fcgid:warn] [pid 3450:tid 34407700224] (22)Invalid argument: [client 193.186.4.83:34173] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Mon Feb 01 02:12:29.955876 2021] [fcgid:warn] [pid 3654:tid 34408282368] [client 66.249.70.86:41516] mod_fcgid: stderr: PHP Warning: A non-numeric value encountered in /usr/local/www/apache24/noexec/gemeindemils/mils-tirol.at/wp-content/plugins/events-calendar-pro/src/Tribe/Templates/Week.php on line 640
[Mon Feb 01 02:22:25.945688 2021] [fcgid:warn] [pid 3449:tid 34408192768] [client 66.249.76.12:59708] mod_fcgid: stderr: PHP Warning: A non-numeric value encountered in /usr/local/www/apache24/noexec/gemeindemils/mils-tirol.at/wp-content/plugins/events-calendar-pro/src/Tribe/Templates/Week.php on line 640
[Mon Feb 01 02:26:31.961735 2021] [fcgid:warn] [pid 3449:tid 34408286208] (32)Broken pipe: [client 17.58.99.13:51333] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Mon Feb 01 02:31:21.453602 2021] [fcgid:warn] [pid 3654:tid 34408177408] [client 66.249.70.90:40121] mod_fcgid: stderr: PHP Warning: A non-numeric value encountered in /usr/local/www/apache24/noexec/gemeindemils/mils-tirol.at/wp-content/plugins/events-calendar-pro/src/Tribe/Templates/Week.php on line 640
[Mon Feb 01 02:50:16.020522 2021] [fcgid:warn] [pid 3654:tid 34408283648] [client 66.249.76.12:61947] mod_fcgid: stderr: PHP Warning: A non-numeric value encountered in /usr/local/www/apache24/noexec/gemeindemils/mils-tirol.at/wp-content/plugins/events-calendar-pro/src/Tribe/Templates/Week.php on line 640
[Mon Feb 01 02:59:43.644494 2021] [fcgid:warn] [pid 3654:tid 34408278528] [client 66.249.76.14:41443] mod_fcgid: stderr: PHP Warning: A non-numeric value encountered in /usr/local/www/apache24/noexec/gemeindemils/mils-tirol.at/wp-content/plugins/events-calendar-pro/src/Tribe/Templates/Week.php on line 640
[Mon Feb 01 03:09:11.690326 2021] [fcgid:warn] [pid 3450:tid 34408190208] [client 66.249.76.10:35418] mod_fcgid: stderr: WordPress-Datenbank-Fehler Unknown column ‘ewfht_postmeta.meta_value’ in ‘field list’ f\xc3\xbcr Abfrage SELECT DISTINCT ewfht_posts.*, MIN(ewfht_postmeta.meta_value) as EventStartDate, d FROM ewfht_posts LEFT JOIN ewfht_term_relationships ON (ewfht_posts.ID = ewfht_term_relationships.object_id) LEFT JOIN ewfht_postmeta as tribe_event_end_date ON ( ewfht_posts.ID = tribe_event_end_date.post_id AND tribe_event_end_date.meta_key = ‘_EventEndDateUTC’ ) WHERE 1=1 AND (
[Mon Feb 01 03:09:11.690519 2021] [fcgid:warn] [pid 3450:tid 34408190208] [client 66.249.76.10:35418] mod_fcgid: stderr: ewfht_term_relationships.term_taxonomy_id IN (33)
[Mon Feb 01 03:09:11.690544 2021] [fcgid:warn] [pid 3450:tid 34408190208] [client 66.249.76.10:35418] mod_fcgid: stderr: AND
[Mon Feb 01 03:09:11.690571 2021] [fcgid:warn] [pid 3450:tid 34408190208] [client 66.249.76.10:35418] mod_fcgid: stderr: ewfht_posts.ID NOT IN (
[Mon Feb 01 03:09:11.690591 2021] [fcgid:warn] [pid 3450:tid 34408190208] [client 66.249.76.10:35418] mod_fcgid: stderr: \t\t\t\tSELECT object_id
[Mon Feb 01 03:09:11.690609 2021] [fcgid:warn] [pid 3450:tid 34408190208] [client 66.249.76.10:35418] mod_fcgid: stderr: \t\t\t\tFROM ewfht_term_relationships
[Mon Feb 01 03:09:11.690635 2021] [fcgid:warn] [pid 3450:tid 34408190208] [client 66.249.76.10:35418] mod_fcgid: stderr: \t\t\t\tWHERE term_taxonomy_id IN (69)
[Mon Feb 01 03:09:11.690655 2021] [fcgid:warn] [pid 3450:tid 34408190208] [client 66.249.76.10:35418] mod_fcgid: stderr: \t\t\t)
[Mon Feb 01 03:09:11.690674 2021] [fcgid:warn] [pid 3450:tid 34408190208] [client 66.249.76.10:35418] mod_fcgid: stderr: ) AND ewfht_posts.post_type = ‘tribe_events’ AND (ewfht_posts.post_status = ‘publish’ OR ewfht_posts.post_status = ‘tribe-ea-success’ OR ewfht_posts.post_status = ‘tribe-ea-failed’ OR ewfht_posts.post_status = ‘tribe-ea-schedule’ OR ewfht_posts.post_status = ‘tribe-ea-pending’ OR ewfht_posts.post_status = ‘tribe-ea-draft’) GROUP BY ewfht_posts.ID ORDER BY EventStartDate DESC, ewfht_posts.post_date DESC LIMIT 0, 1 von require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
Warning: A non-numeric value encountered in /home/clients/d258c2bcfbbebdbca6ed14e8c4ad60ba/Cedric/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php on line 253
Warning: A non-numeric value encountered in /home/clients/d258c2bcfbbebdbca6ed14e8c4ad60ba/Cedric/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php on line 256
Warning: A non-numeric value encountered in /home/clients/d258c2bcfbbebdbca6ed14e8c4ad60ba/Cedric/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php on line 259
Warning: A non-numeric value encountered in /home/clients/d258c2bcfbbebdbca6ed14e8c4ad60ba/Cedric/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php on line 263
Warning: A non-numeric value encountered in /home/clients/d258c2bcfbbebdbca6ed14e8c4ad60ba/Cedric/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php on line 266
Warning: A non-numeric value encountered in /home/clients/d258c2bcfbbebdbca6ed14e8c4ad60ba/Cedric/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php on line 269
Warning: A non-numeric value encountered in /home/clients/d258c2bcfbbebdbca6ed14e8c4ad60ba/Cedric/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php on line 253
Warning: A non-numeric value encountered in /home/clients/d258c2bcfbbebdbca6ed14e8c4ad60ba/Cedric/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php on line 256
Warning: A non-numeric value encountered in /home/clients/d258c2bcfbbebdbca6ed14e8c4ad60ba/Cedric/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php on line 259
Warning: A non-numeric value encountered in /home/clients/d258c2bcfbbebdbca6ed14e8c4ad60ba/Cedric/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php on line 263
Warning: A non-numeric value encountered in /home/clients/d258c2bcfbbebdbca6ed14e8c4ad60ba/Cedric/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php on line 266
Warning: A non-numeric value encountered in /home/clients/d258c2bcfbbebdbca6ed14e8c4ad60ba/Cedric/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php on line 269
]]>Also errors
“cannot start session when headers already sent in /home/****/public_html/wisewomenvt.com/wp-content/plugins/ultimate-appointment-scheduling/Main.php on line 243
“headers already sent by (output started at /home/****/public_html/wisewomenvt.com/wp-content/plugins/ultimate-appointment-scheduling/Functions/Update_EWD_UASP_Admin_Databases.php:538) in /home/****/public_html/wisewomenvt.com/wp-includes/functions.php on line 6221
]]>Warning: A non-numeric value encountered in /var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1670
It is also giving me trouble with Http Headers, when I deactivate this plugin, http headers works fine, when I activate it, htttp headers goes away.
I have version Version 2.1.5.2 of this plugin and Version 4.1.1 of woo commerce
]]>hola, necesito su ayuda, no soy experimentado en WordPress. Manejo la parte gráfica del sitio climaplat.com.ar y actualmente no tengo a nadie que haga la programación, puesto que he empezado a aprender y ya empiezo con los errores.
En la página de Productos, comenzó a mostrarse esta línea debajo de la foto de cada ítem: Warning: A non-numeric value encountered in /www/climaplat.com.ar/htdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php on line 940
No sé qué he hecho mal, pero necesito que me ayuden a solucionarlo y volver a la normalidad, por favor.
Dispongo del informe del sistema que da el plugin en el escritorio, pero cómo puedo enviárselos?
Muchas gracias!