• Resolved manaka02

    (@manaka02)


    Hello,
    First really thanks for this great product.
    I know this is only a notice but if you can fix this it will be nice.

    I always have this Notice when I want to show order list :
    PHP Notice: Array to string conversion in /home/admin/web/myWebsite.mg/public_html/wp-includes/formatting.php on line 1111

    When I try log what it want to formatting, this is the reponse :
    {"user_login":"","nicename":"","display_name":"","url":"","description":"","password":"","first_name":"","last_name":"","company":"","address_1":"","address_2":"","city":"","state":"","postcode":"","country":"MG"}

    And the exception tracking go which called this function is :

    
    {"file":"\/home\/admin\/web\/myWebsite.mg\/public_html\/wp-content\/plugins\/woocommerce\/includes\/admin\/list-tables\/class-wc-admin-list-table-orders.php","line":341,"function":"esc_html","args":[{"user_login":"","nicename":"","display_name":"","url":"","description":"","password":"","first_name":"","last_name":"","company":"","address_1":"","address_2":"","city":"","state":"","postcode":"","country":"MG"}]}

    Hope you can do something. thanks

    • This topic was modified 5 years, 6 months ago by manaka02.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mouli a11n

    (@mouli)

    Hi there!
    As you know, PHP Notices are non critical errors that are for information only and can be caused by the PHP version you are using.

    The easiest way to remove them is to add this to your php.ini file

    ; – Show all errors, except for notices
    ;
    error_reporting = E_ALL & ~E_NOTICE

    If you don’t have access to this file on your server you might need to ask your host to do it for you.

    I hope that helps you to figure it out.
    Feel free to get back to us if you have further questions.

    Plugin Support RK a11n

    (@riaanknoetze)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Notice: Array to string conversion in formatting.php on line 1111’ is closed to new replies.