title: Fatal error: Call to a member function in product.php
body: <p>I am new to opencart, so please help me.<br>
  I am using opencart version 1.5.6, now whenever I edit and delete the product it shows me </p>
  
  <blockquote>
    <p>Fatal error: Call to a member function productUpdateListen() on a non-object in /home/crazepur/public_html/admin/controller/catalog/product.php on line 78 
    and 
    Fatal error: Call to a member function deleteProduct() on a non-object in /home/crazepur/public_html/admin/controller/catalog/product.php on line 133 respectively.</p>
  </blockquote>
  
  <p>Although it edit and delete the product.
  Please help me how to fix it.</p>
  
  <p>Code in Line 78 <code>$this-&gt;openbay-&gt;productUpdateListen($this-&gt;request-&gt;get['product_id'], $this-&gt;request-&gt;post);</code></p>
  
  <p>And code in line 133 <code>$this-&gt;openbay-&gt;deleteProduct($product_id);</code></p>