• Resolved desophea

    (@desophea)


    i receive this error: please help

    Invalid parameter(s): line_items

    {“code”:”rest_invalid_param”,”message”:”Invalid parameter(s): line_items”,”data”:{“status”:400,”params”:{“line_items”:”line_items[0][price] is not of type string.”}}}

Viewing 15 replies - 1 through 15 (of 41 total)
  • Yeah, i am getting this today. Was all fine yesterday.

    Plugin Author kilbot

    (@kilbot)

    Did you update or change anything today? The demo site is running WP 4.8.3 and WC 3.2.3 and I can’t reproduce the error.

    I can release an update which does a type check on the product prices, I’m just unsure why this error started now.

    Plugin Author kilbot

    (@kilbot)

    OK. Looking at the tests this seems to be caused by WordPress 4.9. I will release an update as soon as I can.

    In the meantime, users should rollback to 4.8.3 if possible.

    Looks like WordPress has updated to 4.9 yesterday.

    Thats the only difference i can see.

    Any ideas on how to fix this?

    Thread Starter desophea

    (@desophea)

    rollback to 4.8.3 and its working back now

    I have a few sites relying on this. Any progress on the fix yet?

    Plugin Author kilbot

    (@kilbot)

    I apologise for the inconvenience. The fix itself will only take a couple of hours … but I am currently without a laptop, I’m trying to organise something as quickly as possible.

    In the meantime, this serves as a good reminder …
    1. Always wait a week or so before updating a WordPress or WooCommerce major release
    2. Never, ever, ever buy anything from Dell computers

    Any progress on the fix yet?

    Pretty quiet over there. Really would love to hear some news on this issue other than roll everything back!

    “The fix itself will only take a couple of hours …” ???
    The list of handwritten orders is getting big..
    Do you have any idea when the fixs is ready?

    3 days not selling in the shop with POS!!!
    Can you please tell me when the bug fix is done?

    Hi Author,

    I’ve got this error (When click the process button) after I upgraded wordpress to V4.9:

    Invalid parameter(s): fee_lines

    {“code”:”rest_invalid_param”,”message”:”Invalid parameter(s): fee_lines”,”data”:{“status”:400,”params”:{“fee_lines”:”fee_lines[0][total_tax] is not of type string.”}}}

    So any update? Cause I have to use POS every day. BTW thanks for this excellent plugin!

    David

    “I apologise for the inconvenience. The fix itself will only take a couple of hours … but I am currently without a laptop, I’m trying to organise something as quickly as possible.

    In the meantime, this serves as a good reminder …
    1. Always wait a week or so before updating a WordPress or WooCommerce major release
    2. Never, ever, ever buy anything from Dell computerss”

    Where is the fix??????

    Plugin Author kilbot

    (@kilbot)

    Hi all, apologies for the delay while I wait for my new laptop to be delivered.

    I have had a look at the changes in WordPress 4.9 and have identified the line of code which is causing the compatibility issue. If you cannot rollback to WordPress 4.8 and you need a fix immediately please do the following:

    1. FTP to your server
    2. Find /wp-includes/rest-api/endpoints/class-wp-rest-controller.php
    3. Go to line 548
    4. Remove properties and additionalProperties from the array

    This will be a temporary fix to get you through until an update to WooCommerce POS can be released.

    The above does not entirely fix the compatibility issue. The only solution at the moment is to rollback to WordPress 4.8.

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

    Hi Kilbot,

    Thanks for the temporary fix. But I tried it still doesn’t work. Also I can’t rollback to the WP 4.8. Can you advise the time of your plugin fix then? Thanks!

    David

Viewing 15 replies - 1 through 15 (of 41 total)
  • The topic ‘erro when checkout in POS, unable to proceed’ is closed to new replies.