syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE) #1359
Unanswered
starking8b
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello , I installed this package using this command
composer require spatie/laravel-backup
then I published the config files
php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider"
but I have this error
"message": "syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE)",
"exception": "ParseError",
"file": "vendor/spatie/laravel-backup/src/Tasks/Cleanup/CleanupStrategy.php",
line 14
and I have the same error in this file
vendor/spatie/laravel-backup/src/Notifications/EventHandler.php
but I solved like this
Beta Was this translation helpful? Give feedback.
All reactions