-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8.0 + 8.1 errors #254
Comments
The last error might be Lando not using the latest Drush 8 release by default. https://github.com/drush-ops/drush/releases/tag/8.4.10. Not sure but when I manually set it up with that version I don't see the last error message. |
I see there's a PR related to some PHP 8.x issues here (including an error message you reference above). And I'm seeing this if I use PHP 8.0 on Lando (but not if I revert down to PHP 7.4):
@herbdool In regard to your last comment about the latest Drush 8 version, my testing is with |
I see this error a Drupal 7 site on PHP 8.0:
I see this error a Backdrop site on PHP 8.0:
I suspect using the latest version of drush |
I confirm the problem with php 8.0 using lando v3.18.0 on Mac. My lando config looks like this: recipe: backdrop
config:
webroot: docroot
database: mariadb
php: '8.0'
drush: '8.4.12'
backdrush: 1.x-1.x
# Installs the latest 2.x version of composer instead of the default 2.x.
composer_version: 2 If I don't specify
...whereas explicitly specifying it, I get this:
And the reason why I was fiddling with that is that I've been getting this error when trying to revert to PHP 7.4:
Also noting that I have to use |
...I'm also seeing this:
|
I noticed fatal errors with Drush 8.4.12 and php 8.1.17 so I reverted to Drush 8.4.11 where it just has deprecated warnings. Not that it really matters since Bee seems to be a better choice, unless there is something specific that drush provides? |
There's definitely some deeper underlying issue with Drush 8 and Backdrop's extension. I'd encourage everyone to move over to https://github.com/backdrop-contrib/bee, which will continue to be supported after Drush 8's EOL. |
When trying
drush --version
I get these errors. They might be related or unrelated errors:and..
and...
The text was updated successfully, but these errors were encountered: