Header php warning
-
Hello!!
I recently added shiprocket to my website as it is live and we need it to calculate the realtime shipping prices.
And today I published a product on the website with all the dimensions and proper weight of the product.
So to check out the functionality of the plugin I test runned the product and there was this PHP warning popping up
Warning: A non-numeric value encountered in /home/customer/www/bilvavan.in/public_html/wp-content/plugins/shiprocket/includes/class-shiprocket-woocommerce-shipping-method.php on line 178 Warning: Cannot modify header information - headers already sent by (output started at /home/customer/www/bilvavan.in/public_html/wp-content/plugins/shiprocket/includes/class-shiprocket-woocommerce-shipping-method.php:178) in /home/customer/www/bilvavan.in/public_html/wp-includes/pluggable.php on line 1355
I tried to search out the culprit by scanning out if there was any unnecessary white space or the closing tag of the PHP code is not properly placed but that wasn’t the case at all. I need your help to overcome this problem as when the product is added to the cart this shows up every time and this may leave a very unprofessional mark on our organisation.
The page I need help with: [log in to see the link]
- The topic ‘Header php warning’ is closed to new replies.