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
When I use the doctrine:decrypt:database command, I get the following error : In DoctrineDecryptDatabaseCommand.php line 102: Cannot use object of type App\Entity\User as array
The bug fix is quite easy, I believe. You just have to modify line 102 in DoctrineDecryptDatabaseCommand.php:
When I use the doctrine:decrypt:database command, I get the following error :
In DoctrineDecryptDatabaseCommand.php line 102: Cannot use object of type App\Entity\User as array
The bug fix is quite easy, I believe. You just have to modify line 102 in DoctrineDecryptDatabaseCommand.php:
Actual code :
$entity = $row[0];
Fixed code :
$entity = (is_array($row) ? $row[0] : $row);
Sorry I did not make a pull request, but I'm not sure how to do that...
The text was updated successfully, but these errors were encountered: