SOLVED! Detect class isset while !triggering nonobject error
Posted: Mon Mar 10, 2008 1:52 pm
I'm trying to merely detect is a class isset and if it's not to include a file...
However on every other page where the class !isset I get the following error message...

Code: Select all
if (
!isset(
$error->get('query')
)) {include("includes.php");}I thought that was the point of determining if it's set or not?!Call to a member function get() on a non-object