nextcloud / integration_dropbox

🧊 Dropbox integration into Nextcloud
GNU Affero General Public License v3.0
24 stars 10 forks source link

Error when downloading file - undefined variable dirname #6

Closed johnnyasantoss closed 3 years ago

johnnyasantoss commented 3 years ago

Every time I try to import my files from Dropbox it shows errors like this on my Nextcloud logs:

Error: Undefined variable: dirname at /var/www/html/custom_apps/integration_dropbox/lib/Service/DropboxStorageAPIService.php#238/var/www/html/custom_apps/integration_dropbox/lib/Service/DropboxStorageAPIService.php - line 238: 
OC\Log\ErrorHandler::onError(8, "Undefined variable: dirname", "/var/www/ht ... p", 238, { accessToke ... "})/var/www/html/custom_apps/integration_dropbox/lib/Service/DropboxStorageAPIService.php - line 192: 
OCA\Dropbox\Service\DropboxStorageAPIService->getFile("--- ... -", "--- ... f", "---", "---", "johnny", { .tag: "fil ... "}, OC\Files\Node\Folder {})/var/www/html/custom_apps/integration_dropbox/lib/Service/DropboxStorageAPIService.php - line 123: 
OCA\Dropbox\Service\DropboxStorageAPIService->importFiles("--- ... -", "--- ... f", "---", "---", "johnny", "Dropbox import", 500000000, 0)/var/www/html/custom_apps/integration_dropbox/lib/BackgroundJob/ImportDropboxJob.php - line 36: 
OCA\Dropbox\Service\DropboxStorageAPIService->importDropboxJob("johnny")/var/www/html/lib/public/BackgroundJob/Job.php - line 80: 
OCA\Dropbox\BackgroundJob\ImportDropboxJob->run({ user_id: "johnny"})/var/www/html/lib/public/BackgroundJob/QueuedJob.php - line 48: 
OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})/var/www/html/cron.php - line 127: 
OCP\BackgroundJob\QueuedJob->execute(OC\BackgroundJob\JobList {}, OC\Log {})