• Resolved Emil1

    (@milouze)


    Hi,

    I have this notice error for only new visitor in checkout page :

    NOTICE: ARRAY TO STRING CONVERSION IN /WP-CONTENT/PLUGINS/WOOCOMMERCE/INCLUDES/WC-TEMPLATE-FUNCTIONS.PHP ON LINE 1971

    Is concerne country listing, but if i refresh the page the notice disappear. But if i am new visitor is come back like as info in cokkies bug the system

    Tanks you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Emil1

    (@milouze)

    I debug my problème, i have selected default country in generals settings of woocommerce, is strange because when i tried in debug true i have 502 bad gateways error in this page

    • This reply was modified 7 years, 7 months ago by Emil1.

    I also ran into this issue but on line 1975. If I ran a debug backtrace it would boil up to my custom state type field I added to the checkout. I also have the updated hooks for setting default State and Country. Whenever I updated the “Default customer location” in WooCommerce -> Settings -> [General] from “No location” to “Geolocate” the issue disappeared.

    Weird.

    Hello,
    I am facing a similar problem. How do you see the topic (ex. state) of the line?
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Notice error in checkout page’ is closed to new replies.