Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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?

    #102219

    Hey AlessioMTX,

    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.

    Regards,

    Devin

    #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.

    What next?

    Thanks

    John

    #102221

    Hey!

    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.

    Best regards,

    Peter

    #102222

    Thanks! It’s the first product I have put up so totally new to this.

    Many thanks

    John

    #102223

    Glad Peter could help :)

    Let us know if you have any other questions or issues.

    Regards,

    Devin

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Error to show the single page of product’ is closed to new replies.