• Home
  • About
  • Doom II
  • Flog 2010
  • Inspiration

Best Programming Error Message, Ever

Posted in Computing. on Thursday, November 27th, 2008 by Derek
Nov 27

I came across this doozy today:

Catchable fatal error: Argument 2 passed to Opm_Project_Milestone::findForProjectInTimeframe() must be an instance of int, integer given

  • Now Playing: Nine Inch Nails - The Fragile (Left) - 03 - Where is Everybody?

2 Comments

  1. mewse on November 30th, 2008

    did u smash ur monitor on ur knee like “RARRGH I HATE PHP” because thats what id do

  2. Afterglow on November 30th, 2008

    Not really since a) I’m not a stark-raving maniac b) I immediately knew what the problem was. You can’t give parameter type hints using primitive types like int as it’s only for array and object classes although I believe it will be available next version. I just appreciate the absurdity of such an error message.



Leave a Reply

CAPTCHA Image CAPTCHA Audio
Refresh Image

Derek MacDonald

  • Photo Stream
  • Categories
    • Computing
    • Film & TV
    • Gaming
    • General
    • Music
    • Sports
    • Visual Art
  • Search






  • Home
  • About
  • Doom II
  • Flog 2010
  • Inspiration

© Copyright Derek MacDonald. All rights reserved.
Designed by FTL Wordpress Themes brought to you by Smashing Magazine

Back to Top