I opened a ticket for a bug in my boss’ code today at 1:20 pm.
POST /searched_addresses — throwing Slim error
Type: PDOException
Code: HY093
Message: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
File: /var/app/current/src/Models/SearchedAddressRepository.php Line: 219
Fearless Leader updated the ticket at 2:18 pm.
I’ll fix this, but you should be passing the searched address in the GET /docks endpoint.
I updated it at 2:20 pm.
I was not aware of this.
He told me to use POST /searched_addresses
in the first place, then lets me implement the code, discover bugs, and then file a bug report on its broken functionality before telling me that I should be using GET /docks
instead.
Add a comment
Post