Sign in to your account



This field is required


forgot your password?


New to the site? Create an account →

Dec 12th, 2017 at 2:47:06 pm

tcr! · Dec 12, 2017 at 2:47 pm

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.

#worknews #devhell

Add a comment

It’d be better if you signed in before commenting


Post



Latest articles for #devhell

Jun 6th, 2019 at 11:47:17 am

Jun 6th, 2019 at 11:47:17 am

Jun 6, 2019 at 11:47 am

The function/method MUST return the number of bytes written.Why? I’m…

Developer laments, a Cobain quote, and more!

Developer laments, a Cobain quote, and more!

Jan 10, 2019 at 12:46 pm

Being a dork web developer who: loves code is forced to use WordPress…

Phone number optionally required

Phone number optionally required

Dec 1, 2018 at 12:05 pm

Good one Google. 🙄 #devhell #google

Aug 20th, 2018 at 3:16:17 pm

Aug 20th, 2018 at 3:16:17 pm

Aug 20, 2018 at 3:16 pm

Writing a valid, functional, and strict MySQL regular expression for…