Jump to content

Multiple Objects of Class


leonardlh

Recommended Posts

I can post some code once I am back at my laptop but for now thinking about this is keeping me awake in bed and all I have handy is my phone.

 

Anyway, I am new to OOPHP. I have a class that I created. I have two objects/instances of it, each using some of the same and some different methods within the class.

 

When I run the page either of the instances works great alone but I get the white screen of death when I try to use both instances at the same time. Any ideas or places I should start?

Link to comment
https://forums.phpfreaks.com/topic/290531-multiple-objects-of-class/
Share on other sites

If you're producing a fatal parse error, the error_reporting() function won't work because the PHP isn't even being run.  You'll need to enable error_reporting in php.ini for that.  The rest of the fatal errors should be displayed with the error_reporting() function turning errors on.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.