January 4, 2013 at 12:59 pm #19099
When I try to show the single page of product I have these errors:
Warning: Invalid argument supplied for foreach() in /home/alessmtx/public_html/healtyshop/bag/wp-content/themes/replete/config-woocommerce/config.php on line 367
Warning: reset() [function.reset]: Passed variable is not an array or object in /home/alessmtx/public_html/healtyshop/bag/wp-content/themes/replete/config-woocommerce/config.php on line 377
Catchable fatal error: Object of class WP_Error could not be converted to string in /home/alessmtx/public_html/healtyshop/bag/wp-content/themes/replete/config-woocommerce/config.php on line 384
What should I do?January 4, 2013 at 6:59 pm #102219
First disable all active plugins except for WooCommerce. Next, make sure you are using WooCommerce 1.6.6, WordPress 3.5. If not, update those.
If you are still getting the error, try re-downloading Replete from your downloads on themeforest and then install the theme in the same way you first installed it. There may have been a corrupted file on the first installation.
DevinFebruary 19, 2013 at 9:38 pm #102220
I also have the same error:
Warning: Invalid argument supplied for foreach() in /var/sites/s/stixa.co.uk/public_html/wp-content/themes/replete/config-woocommerce/config.php on line 367
Warning: reset() expects parameter 1 to be array, boolean given in /var/sites/s/stixa.co.uk/public_html/wp-content/themes/replete/config-woocommerce/config.php on line 377
Catchable fatal error: Object of class WP_Error could not be converted to string in /var/sites/s/stixa.co.uk/public_html/wp-content/themes/replete/config-woocommerce/config.php on line 384
I have tried Devin’s advice, but no luck. I have installed the latest version 1.2.
JohnFebruary 20, 2013 at 6:27 am #102221
I think you forgot to assign a category to your product(s). Please assign all products to a product category, otherwise the breadcrumb won’t work and it will output the error above.
PeterFebruary 21, 2013 at 12:23 pm #102222
Thanks! It’s the first product I have put up so totally new to this.
JohnFebruary 21, 2013 at 5:53 pm #102223
The topic ‘Error to show the single page of product’ is closed to new replies.