paulstav
Forum Replies Created
-
Hi Audrius,
I’ve gotten one step closer to the solution.. I noticed when I enable the WooCommerce setting, it adds the following line to the end of functions.php in my theme folder:
require “woo_code.php”;
Followed by a blank space. Currently my functions.php file ends in the following line of code:
<?php } ?>
So when the plugin adds
require "woo_code.php";it’s breaking the functions.php. I’ve managed to manually fix the issue in my functions.php by changing the final line to the following:<?php require “woo_code.php”; } ?>
However as far as I can tell, I don’t think the ecommerce is actually being tracked. Your help is greatly appreciated.
–Paul
Hey Audrius,
I have tried disabling and re-enabling the setting numerous times, and also tried deactivating, deleting the plugin, and reinstalling it. The error continues to occur.
I still receive this error when attempting to add products to my cart.
require “woo_code.php”;
Warning: Cannot modify header information – headers already sent by (output started at /home/…/wp-content/themes/theme1499/functions.php:140) in /home/…/pluggable.php on line 1121And
require "woo_code.php";shows up at the top of every page, including admin pages. Is this some sort of compatibility issue with WPML? The error occurs whether or not I have WPML enabled, however the plugin will not allow me to save changes while WPML is enabled.– Paul