Okay
  Public Ticket #1461060
woocommerce/functions.php
Closed

Comments

  • Bikebueb started the conversation

    Hi there

    I just updated the woocommerce-templates and since then I get following error-message: Invalid argument supplied for foreach() in /kunden/426281_8001/web/3690055/A3690055/bikebuebe.ch/wordpress/wp-content/themes/khaki/woocommerce/functions.php on line 309

    To fix it I re-uploaded the old templates. But the error does not disappear...

    I didn't change anything on the php-files and it worked fine before updating it. Would be awesome if you could help somehow...

    kindly

    Dominik

    Attached files:  functions.php

  •  121
    Alex replied

    Hello.

    To fix the error, just replace the file here:

    /khaki/woocommerce/functions.php

    The file with the fix is in the attachment.

    Now about the outdated templates of WooCommerce: In the next update, we will add support for the latest version of WooCommerce. You can not pay attention to them, this will not affect the work of the store

    Attached files:  functions.php


    Best regards, Aleksey

  • Bikebueb replied

    Thanks Alex for your fast support! It works all well now.

    Cheers, Dominik