Fatal error: Call to private MyObject::__construct() from invalid context

25kuwait

New Member
When creating a new object in PHP, I get the following error message:
\[code\]Fatal error: Call to private MyObject::__construct() from invalid context\[/code\]
I just create the new object and do not try to call the constructor explicitly. Does anyone know what's going on?
 
Back
Top