You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
both methods i have fatal error, for example: Fatal error: Call to undefined method Opis\Database\Transaction::successCallback()
that will be corrected in \opis\database\lib\Transaction.php, method execute, we should replace if ($this->successCallback !== null) { $this->successCallback($this); }
on if ($this->successCallback !== null) { call_user_func($this->successCallback, $this); }
got error callback the same...
The text was updated successfully, but these errors were encountered:
php 5.6.12
im use transaction with callback:
->onError(function(PDOException $e, $transaction){ //code write log throw new \PDOException($e->getMessage()); }) ->onSuccess(function($transaction){ //code write log })
both methods i have fatal error, for example:
Fatal error: Call to undefined method Opis\Database\Transaction::successCallback()
that will be corrected in \opis\database\lib\Transaction.php, method execute, we should replace
if ($this->successCallback !== null) { $this->successCallback($this); }
on
if ($this->successCallback !== null) { call_user_func($this->successCallback, $this); }
got error callback the same...
The text was updated successfully, but these errors were encountered: