Add customer address error in JSON API
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Advanced
- Posts: 114
- Joined: 08 Nov 2019, 11:56
Add customer address error in JSON API
We are using JSON API into mobile applications. But after the last update, we start getting an error on adding customer address
This is error which we are getting now. Please suggest"title": "SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens: \n\t\t\t\t\t\tINSERT INTO \"users_address\" ( \n\t\t\t\t\t\t\t\"parentid\", \"company\", \"vatid\", \"salutation\", \"title\",\n\t\t\t\t\t\t\t\"firstname\", \"lastname\", \"address1\", \"address2\", \"address3\",\n\t\t\t\t\t\t\t\"postal\", \"city\", \"state\", \"countryid\", \"langid\", \"telephone\",\n\t\t\t\t\t\t\t\"email\", \"telefax\", \"website\", \"longitude\", \"latitude\",\n\t\t\t\t\t\t\t\"pos\", \"mtime\", \"editor\", \"siteid\", \"ctime\"\n\t\t\t\t\t\t) VALUES ( \n\t\t\t\t\t\t\t?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?\n\t\t\t\t\t\t)\n\t\t\t\t\t",
Re: Add customer address error in JSON API
If you use the dev-master version, the birthday column is missing in your custom SQL
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star