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
]]>I see:
Warning: A non-numeric value encountered in ***/public_html/wp-content/plugins/woocommerce-product-addon/inc/prices.php on line 358
At the top of my site.
In that file at line 358 it says:
$total_bq_baseprice += $price[‘base_price’];
The code:
// Get total bulkquantities
function ppom_price_get_total_bulkquantities($price_array) {
$total_bulkquantities = 0;
$total_bq_baseprice = 0;
if($price_array) {
foreach( $price_array as $price ) {
if( $price[‘type’] == ‘bulkquantity’ )
$total_bulkquantities += $price[‘quantity’];
$total_bq_baseprice += $price[‘base_price’];
}
}
Can you tell me how to fix this?
]]>[01-Apr-2019 16:52:38 UTC] PHP Warning: A non-numeric value encountered in /var/www/vhosts/taximallorcatransfers.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 234
[01-Apr-2019 16:52:38 UTC] PHP Warning: A non-numeric value encountered in /var/www/vhosts/taximallorcatransfers.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-discounts.php on line 85
thanks!
]]>I wanted to make the header image clickable.
Original header.php:
<div id=”header”>
<div id=”headerimg”>
<h1>/”><?php bloginfo(‘name’); ?></h1>
<div class=”description”><?php bloginfo(‘description’); ?></div>
</div>
</div>
Made image clickable by changing this to:
<div id=”header”>
/”>
<div id=”headerimg”>
<h1><?php bloginfo(‘name’); ?></h1>
<div class=”description”><?php bloginfo(‘description’); ?></div>
</div>
</div>
This made image clickable but also made the ‘name’ go white instead of my nice earthy colour. See the link (I have left it in the wrong white colour). How come the .css style has been lost?
Regards,
Nico M
London UK