Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with using Entity class (Could not execute App\Entities\::__construct()) #855

Closed
stefanaminb opened this issue Dec 5, 2017 · 2 comments

Comments

@stefanaminb
Copy link

Problem with using Entity class (system\Entity.php: 72).
Could not execute App\Entities\Client::__construct()

The Database class cant use fetch_object with this constructor

public function __construct(array $data = null) { if (is_array($data)) { $this->fill($data); } }

@stefanaminb
Copy link
Author

stefanaminb commented Dec 5, 2017

Fix: remove Constructor

@lonnieezell
Copy link
Member

Please show how you're using it and creating it. I use the Entity class in sample projects just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants