![]() |
Doh!
Fatal error: Call to a member function executeQuery() on a non-object in /home/phpsauce/public_html/sources/authClass.php on line 65
PHP Code:
PHP Code:
|
And if it helps, here is the executeQuery code:
PHP Code:
|
The variable
$connect (local to the scope of that function) is not defined and undefined variables don't have methods attached. Which class has an executeQuery method and where is it instantiated?Edit: Are these both defined in the same class? |
Thanks for your fast reply :)
PHP Code:
|
The
$connect variable is only available within the __construct. The simplest workaround would be to use $this->connect wherever you have just $connect right now. |
Quote:
|
| All times are GMT. The time now is 06:25 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0