J! 3.5.0
Есть самописный код который использует API J!
В коде возникает ошибка(иногда почему-то её нет) и при этой ошибке отображается:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>0 - Call to a member function find() on boolean</title>
<link rel="stylesheet" href="./templates/purity_iii/css/error.css" type="text/css" />
</head>
<body>
<div class="error">
<div id="outline">
<div id="errorboxoutline">
<div id="errorboxheader">0 - Call to a member function find() on boolean</div>
<div id="errorboxbody">
<p><strong>You may not be able to visit this page because of:</strong></p>
<ol>
<li>an <strong>out-of-date bookmark/favourite</strong></li>
<li>a search engine that has an <strong>out-of-date listing for this site</strong> </li>
<li>a <strong>mistyped address</strong></li>
<li>you have <strong>no access</strong> to this page</li>
<li>The requested resource was not found.</li>
<li>An error has occurred while processing your request.</li>
</ol>
<p>
<strong>Please try one of the following pages:</strong>
<a class="btn btn-primary" href="./index.php" title="Go to the Home Page">Home Page</a>
</p>
<p>If difficulties persist, please contact the System Administrator of this site and report the error below..</p>
<div id="techinfo">
<p>Call to a member function find() on boolean</p>
<p>
</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
0 - Call to a member function find() on boolean
к API не относится, но из за этой HTML страницы я понять не могу в какой из строк возникает ошибка...
Собственно вопрос... Как её отключить чтобы вылезла обычная ошибка PHP со строкой и т.д....