Error on the checkout page - by ancabontea

This topic has 23 replies, 4 voices, and was last updated 10 years, 5 months ago ago by Jack Richardson

  • Avatar: ancabontea
    ancabontea
    Participant
    June 5, 2014 at 16:16

    Dear all,

    I like very much your theme, but I encountered en error while testing the checkout page.
    The error looks like this:

    Warning:Invalid argument supplied for foreach () in /home/content/70/7846670/html/orders/wp-content/themes/legenda/woocommerce/checkout/form-billing.php on line 58.

    I had few orders with pending status and after I deleted these orders the error did not show up anymore.
    Could you please let me know what is the solution for this?

    Thank you.

    22 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    June 5, 2014 at 16:30

    Hello,

    Does this error persist with default theme too? Please check. If it does, then you have to contact woocommerce support regarding this issue.

    Regards,
    Eva Kemp.

    Avatar: ancabontea
    ancabontea
    Participant
    June 6, 2014 at 08:25

    Hi Eve,

    Thank you for your reply.
    I tested with a default theme and the error is not appearing. The error appears only after I activated your theme.
    Could you please have a look into this?
    The error looks always the same on the checkout page:
    Warning: Invalid argument supplied for foreach() in /home/content/70/7846670/html/orders/wp-content/themes/legenda/woocommerce/checkout/form-billing.php on line 58

    Avatar: Eva
    Eva Kemp
    Support staff
    June 6, 2014 at 08:31

    Hello,

    Please provide us with FTP and admin panel credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: ancabontea
    ancabontea
    Participant
    June 6, 2014 at 11:31

    Hi Eve,

    Please find below:

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    June 6, 2014 at 12:03

    Hello,

    I’ve just checked checkout page in Firefox browser and haven’t seen the error. Could you please show us a screenshot of the page with the error?
    Thank you.

    Regards,
    Eva Kemp.

    Avatar: ancabontea
    ancabontea
    Participant
    June 6, 2014 at 13:24

    null

    I checked it too and the error still persists in the Firefox browser. I tested the page on Chrome and error appears as well.

    Avatar: ancabontea
    ancabontea
    Participant
    June 6, 2014 at 13:25

    null

    Avatar: Eva
    Eva Kemp
    Support staff
    June 6, 2014 at 13:44

    I was managed to see the error, it appears only for non-logged users. Please provide us with FTP access.
    Thank you.

    Regards,
    Eva Kemp.

    Avatar: ancabontea
    ancabontea
    Participant
    June 6, 2014 at 14:02

    Hi Eve,

    I already provided the login details, please have a look in my reply #6231

    Avatar: Eva
    Eva Kemp
    Support staff
    June 6, 2014 at 14:05

    Those are login details to wp-admin panel.
    Please provide us with the ones to your FTP account (host, user, password, FTP port).
    Thank you.

    Regards,
    Eva Kemp.

    Avatar: ancabontea
    ancabontea
    Participant
    June 6, 2014 at 17:44

    Hi Eva,

    Please find below:

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    June 7, 2014 at 09:41

    Hello,

    I’ve updated form-billing.php file and the error disappeared.
    Please check from your side.

    Regards,
    Eva Kemp.

    Avatar: ancabontea
    ancabontea
    Participant
    June 9, 2014 at 15:04

    Hi Eva,

    Thank you for looking in this issue for me.
    I tested the checkout page and now is another message showing up:
    “Status API Training Shop Blog About © 2014 GitHub, Inc. Terms Privacy Security Contact”

    It would be possible to be removed?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 9, 2014 at 15:15

    Hello,

    We’ve removed this text. Check it now, please!

    Regards,
    Jack Richardson

    Avatar: ancabontea
    ancabontea
    Participant
    June 9, 2014 at 15:27

    Thank you! the message is not showing up anymore!
    Thank you for your support.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 9, 2014 at 15:29

    Hello,

    You’re welcome!

    Regards,
    Jack Richardson

    Avatar: fernandoyada
    fernandoyada
    Participant
    June 10, 2014 at 18:16

    Jack, I got the same problem
    I tried to replace form-billing.php but didn’t work.

    My site is brilhofolheados.com.br

    The login and pass are at Private content

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    June 10, 2014 at 20:44

    Hello @fernandoyada,

    Just to clarify: do you have problems with Checkout page? As I see it’s working properly.

    Regards,
    Eva Kemp.

    Avatar: fernandoyada
    fernandoyada
    Participant
    June 10, 2014 at 21:27

    Eva My problem is exacty the same that ancabontea

    You can see a movie here: http://www.screencast.com/t/rVW0JJskJza

    Thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    June 11, 2014 at 08:17

    Hello @fernandoyada,

    I’m unable to log in to FTP with the details you provided. Please check them.
    By the way, you can update woocommerce file yourself, just copy the file form-billing.php from plugins/woocommerce/templates/checkout to the folder themes/legenda/woocommerce/checkout. Old file will will be rewritten.

    Regards,
    Eva Kemp.

    Avatar: fernandoyada
    fernandoyada
    Participant
    June 13, 2014 at 15:00

    Thank you.

    It works

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 13, 2014 at 15:03

    Hello,

    You’re welcome!

    Regards,
    Jack Richardson

  • Viewing 23 results - 1 through 23 (of 23 total)

The issue related to '‘Error on the checkout page’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.