Fatal error when deleting product

Bug #672653 reported by Richard Ford
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Uthando-CMS
Fix Committed
High
vincentbluff

Bug Description

CharismaBooks reports a fatal error when trying to delete a product.
When Deleting a product - CB0138 - the system reports:-

Fatal error: Call to a member function get() on a non-object in /home/charism1/public_html/AGQ#l$2kgA4)/components/ushop/products/delete_product.php on line 13

thus prohibiting the deletion of a product.
This needs to be rectified urgently.

Changed in uthando-cms:
importance: Undecided → High
assignee: nobody → vincentbluff (shaun-shaunfreeman)
status: New → In Progress
Revision history for this message
vincentbluff (shaun-shaunfreeman) wrote :

This needs testing now

Changed in uthando-cms:
status: In Progress → Fix Committed
Revision history for this message
Richard Ford (richard-barnaclesfinch) wrote :

No, still a problem.

Fatal error: Call to a member function get() on a non-object in /home/charism1/public_html/AGQ#l$2kgA4)/components/ushop/products/delete_product.php on line 13 stil comes up when deleting a product.

Revision history for this message
vincentbluff (shaun-shaunfreeman) wrote :

This is fixed, I had sent a fixed up yesterday but some how the file had reverted to the original!

Anyway I have edited it on the server and is fixed now, you can delete products from database, I tested it on the site by adding a new product and then deleting it.

Revision history for this message
Richard Ford (richard-barnaclesfinch) wrote :

Yup, deletes ok but generates an error message that it can't find the image to delete.

Also throws up another problem. If a deleted book is located via Google (say) and an attempt is made to progress the google search by clicking on it, then a different error is generated. See attachment for details.

Revision history for this message
vincentbluff (shaun-shaunfreeman) wrote :

All new issues are dealt with now. So ready for a new test.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.