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
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.