receive-payments-demos icon indicating copy to clipboard operation
receive-payments-demos copied to clipboard

Fatal error: Call to a member function bind_param() on a non-object in .../create.php on line 19;

Open shobonet007 opened this issue 7 years ago • 2 comments

Fatal error: Call to a member function bind_param() on a non-object in .../create.php on line 19

//Add the invoice to the database $stmt = $db->prepare("UPDATE invoices SET address = ? WHERE invoice_id = ?"); $stmt->bind_param("si", $response->address, $invoice_id); $result = $stmt->execute();

I need help.

shobonet007 avatar Dec 27 '17 13:12 shobonet007

Problem is that there is no address-field in the Database. Create a Field in the Database and the Problem should be solved.

p1nkm4n avatar Feb 06 '19 10:02 p1nkm4n

Buy Nuts and Bolts Unknown Error

GodBlock avatar Oct 28 '20 21:10 GodBlock