Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2022 06:29:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 261942] www/drush-php80 drupal7 drupal9
Message-ID:  <bug-261942-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261942

            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 dru=
pal7
install I get the following error.

WD php: Error: Call to undefined function each() in _drush_backend_proc_ope=
n()
(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 g=
et
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.i=
nc)
#0=20

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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261942-7788>