[Bug 261942] www/drush-php80 drupal7 drupal9
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261942] www/drush-php80 drupal7 drupal9"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261942] www/drush-php80 drupal7 drupal9"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261942] www/drush-php80 drupal7 drupal9"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261942] www/drush-php80 drupal7 drupal9"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261942] www/drush-php80 drupal7 drupal9"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261942] www/drush-php80 drupal7 drupal9"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261942] www/drush-php80 drupal7 drupal9"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Feb 2022 06:29:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261942
Bug ID: 261942
Summary: www/drush-php80 drupal7 drupal9
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: richard2891@gmail.com
drush-php80 8.3.3 is using each() function which was removed from php80.
So when ever I try to run this command "drush pm-update drupal -y" on a drupal7
install I get the following error.
WD php: Error: Call to undefined function each() in _drush_backend_proc_open()
(line 360 of phar:///usr/local/bin/drush.phar/includes/backend.inc).
This issue is was fixed in 8.4.1.
https://github.com/drush-ops/drush/releases/tag/8.4.1
drush-php80 8.3.3 is also using update_fix_compatibility() function that was
removed with drupal9.
So when I try to run this command "drush updatedb" on a drupal9 install I get
the following error.
Error: Call to undefined function update_fix_compatibility() in update_main()
(line 136 of phar:///usr/local/bin/drush.phar/commands/core/drupal/update.inc)
#0
both issues were fix by using composer to install a newer version of drush
using this command "composer require drush/drush:8.x -W" install drush 8.4.10.
and fixed both of my issues.
--
You are receiving this mail because:
You are the assignee for the bug.