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
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
© Copyright Derek MacDonald. All rights reserved.
Designed by FTL Wordpress Themes brought to you by Smashing Magazine
did u smash ur monitor on ur knee like “RARRGH I HATE PHP” because thats what id do
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.