Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm working on a mostly fresh install of WooCommerse. Al that has been done is payment testing on a dev server and site of the plugin in general with my custom fields already in place on the site.

I however have noticed an error on the my account page. When a new user logs in their addressed block on the my account page is empty but there is an edit button.

If the user clicks edit and tries to save this "new" address they get the following error:

Deprecated: Function ereg() is deprecated in /home/wptest/public_html/wp-content/plugins/woocommerce/classes/class-wc-validation.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at /home/wptest/public_html/wp-content/plugins/woocommerce/classes/class-wc-validation.php:108) in /home/wptest/public_html/wp-includes/pluggable.php on line 875

This issue has also seemed to start happening with existing users that never had this issue (so all saving of addresses).

this is on Wordpress v 3.6.1 It does appear to have started after someone updated from 3.5 So I'm going to see if i can backdate everything but on a copy of the site.

share|improve this question

closed as off-topic by kaiser Dec 17 at 18:05

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

remove closing ?> tag from your functions.php –  pr1nc3 Oct 10 '13 at 10:51
Unfortunately this did not fix the issue. –  Chris Morris Oct 10 '13 at 11:07

Browse other questions tagged or ask your own question.