Hi! I'm just getting following error after executing a store procedure... Call to a member function save() on null on line \vendor\yajra\laravel-pdo-via-oci8\src\Pdo\Oci8\Statement.php:735
// Save blob objects if set.
if ($result && count($this->blobObjects) > 0) {
foreach ($this->blobObjects as $param => $blob) {
/* @var OCILob $blob */
$blob->save($this->blobBindings[$param]);
}
}
It's happening when the param is set but the output retrieved is empty... It looks like is missing a isset before save...
I reported in case someone else has the same issue...
// Save blob objects if set.
if ($result && count($this->blobObjects) > 0) {
foreach ($this->blobObjects as $param => $blob) {
/* @var OCILob $blob */
if(isset($this->blobBindings[$param])){
$blob->save($this->blobBindings[$param]);
}
}
}
Hi! I'm just getting following error after executing a store procedure... Call to a member function save() on null on line \vendor\yajra\laravel-pdo-via-oci8\src\Pdo\Oci8\Statement.php:735
It's happening when the param is set but the output retrieved is empty... It looks like is missing a isset before save... I reported in case someone else has the same issue...