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
Hi, we perform a daily backup of our LARAVEL app along with database (MySQL), for some reason we are encountering the issue "Trying to access array offset on value of type bool" this behaviour is not permanent as sometimes the backup is successfully done and sometimes this issue is shown. Moreover, we have observed that our current backup has 78.6 GB size, the process copies around 68 GB of data and after that throws this error.
If we backup database & application separately, the database is successfully backed up, but while copying the application files, this error is thrown. Below is also the logs:
mportant: An error occurred while backing up PROCTORPRO
Exception message: Trying to access array offset on value of type bool
This discussion was converted from issue #1505 on March 14, 2022 15:19.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, we perform a daily backup of our LARAVEL app along with database (MySQL), for some reason we are encountering the issue "Trying to access array offset on value of type bool" this behaviour is not permanent as sometimes the backup is successfully done and sometimes this issue is shown. Moreover, we have observed that our current backup has 78.6 GB size, the process copies around 68 GB of data and after that throws this error.
If we backup database & application separately, the database is successfully backed up, but while copying the application files, this error is thrown. Below is also the logs:
mportant: An error occurred while backing up PROCTORPRO
Exception message: Trying to access array offset on value of type bool
Exception trace: #0 /var/www/html/exam/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php(3471): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() #1 /var/www/html/exam/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php(3409): phpseclib\Net\SSH2->_filter() #2 /var/www/html/exam/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php(3698): phpseclib\Net\SSH2->_get_binary_packet() #3 /var/www/html/exam/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php(4072): phpseclib\Net\SSH2->_get_channel_packet() #4 /var/www/html/exam/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php(2968): phpseclib\Net\SSH2->_send_channel_packet() #5 /var/www/html/exam/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php(2046): phpseclib\Net\SFTP->_send_sftp_packet() #6 /var/www/html/exam/vendor/league/flysystem-sftp/src/SftpAdapter.php(445): phpseclib\Net\SFTP->put() #7 /var/www/html/exam/vendor/league/flysystem-sftp/src/SftpAdapter.php(424): League\Flysystem\Sftp\SftpAdapter->upload() #8 /var/www/html/exam/vendor/league/flysystem/src/Filesystem.php(88): League\Flysystem\Sftp\SftpAdapter->writeStream() #9 /var/www/html/exam/vendor/spatie/laravel-backup/src/BackupDestination/BackupDestination.php(92): League\Flysystem\Filesystem->writeStream() #10 /var/www/html/exam/vendor/spatie/laravel-backup/src/Tasks/Backup/BackupJob.php(272): Spatie\Backup\BackupDestination\BackupDestination->write() #11 /var/www/html/exam/vendor/laravel/framework/src/Illuminate/Support/Traits/EnumeratesValues.php(178): Spatie\Backup\Tasks\Backup\BackupJob->Spatie\Backup\Tasks\Backup{closure}() #12 /var/www/html/exam/vendor/spatie/laravel-backup/src/Tasks/Backup/BackupJob.php(282): Illuminate\Support\Collection->each() #13 /var/www/html/exam/vendor/spatie/laravel-backup/src/Tasks/Backup/BackupJob.php(155): Spatie\Backup\Tasks\Backup\BackupJob->copyToBackupDestinations() #14 /var/www/html/exam/vendor/spatie/laravel-backup/src/Commands/BackupCommand.php(56): Spatie\Backup\Tasks\Backup\BackupJob->run() #15 [internal function]: Spatie\Backup\Commands\BackupCommand->handle() #16 /var/www/html/exam/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(32): call_user_func_array() #17 /var/www/html/exam/vendor/laravel/framework/src/Illuminate/Container/Util.php(36): Illuminate\Container\BoundMethod::Illuminate\Container{closure}() #18 /var/www/html/exam/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(90): Illuminate\Container\Util::unwrapIfClosure() #19 /var/www/html/exam/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(34): Illuminate\Container\BoundMethod::callBoundMethod() #20 /var/www/html/exam/vendor/laravel/framework/src/Illuminate/Container/Container.php(592): Illuminate\Container\BoundMethod::call() #21 /var/www/html/exam/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\Container\Container->call() #22 /var/www/html/exam/vendor/symfony/console/Command/Command.php(258): Illuminate\Console\Command->execute() #23 /var/www/html/exam/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\Component\Console\Command\Command->run() #24 /var/www/html/exam/vendor/spatie/laravel-backup/src/Commands/BaseCommand.php(16): Illuminate\Console\Command->run() #25 /var/www/html/exam/vendor/symfony/console/Application.php(911): Spatie\Backup\Commands\BaseCommand->run() #26 /var/www/html/exam/vendor/symfony/console/Application.php(264): Symfony\Component\Console\Application->doRunCommand() #27 /var/www/html/exam/vendor/symfony/console/Application.php(140): Symfony\Component\Console\Application->doRun() #28 /var/www/html/exam/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\Component\Console\Application->run() #29 /var/www/html/exam/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\Console\Application->run() #30 /var/www/html/exam/artisan(37): Illuminate\Foundation\Console\Kernel->handle() #31 {main}
Kindly Help !!!!
Beta Was this translation helpful? Give feedback.
All reactions