From nobody Mon Feb 14 06:29:37 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A4A6419C7DB5 for ; Mon, 14 Feb 2022 06:29:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JxvTF2p8kz3p5Q for ; Mon, 14 Feb 2022 06:29:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3FFE21CA0 for ; Mon, 14 Feb 2022 06:29:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21E6TbCZ055573 for ; Mon, 14 Feb 2022 06:29:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21E6TbRj055572 for ports-bugs@FreeBSD.org; Mon, 14 Feb 2022 06:29:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261942] www/drush-php80 drupal7 drupal9 Date: Mon, 14 Feb 2022 06:29:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: richard2891@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644820177; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fLVYgVQfNw7oZQcWMO4bnPcBWcFmwJwddzGogYuDm2M=; b=yJ80cUOsEMeESmpX1LNa2wjp+c52dzlAosn+NbJYh+Ve45XXbWfHkJcB5guUyK6lPAs/Bw Ur1Z+yiXGBJFCnDl2aZZMfW7ycUM/m9r5aOvOjug8pAicNdQ4/mQ79hfknpw3r9fC3wcYr BxYCVN0LM741NzkqHlzGzxohV4IdqtlfYkupfEUJ3KD9XIQ4LIgpEqr0/rT+uUZwSn46h/ t+MbdnxPdHoJhtI86XSWoOb+upMnT69c7tK7H4a7bOOple8w0foO6uyNtafh78bvvWzTnm bA6TYdvPUV1a0ei7ldhuJKFLqypvDZU+5nZtq/rKcdcWqFIv3ew8Rb7SvBV6IQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644820177; a=rsa-sha256; cv=none; b=DHOeFQTUXtNHZ3ZynAYG1lTgvUoFWPQIVQigPycCjVHtgFbvrADAA5ez67i7aH5Zw9n1BJ YpBHIiwhgvaWr79MtNN5UZCqeehBX8ST22t4uJ7ETcX4iZZYxMIlEaxJu9KAw7Vo0VHdHP 84vCX2FQifVtXJ+WBs3kmlp8N3zPXuSWYtc9MmgIACFID9aF9uKpZcMDbSh2sEROM4E9hI BY+KMFtarzS+uqe8PIWK9pIyHuvW+r2CeVdXhA7eVq706FeAxSEgJ6JAUfByzuUP/Tf7f1 hIeCu10tkjhGStvtFKHhFJCVTuP8czvlPlDJ41OsImSLtvFxkQCdYg6EAx2MvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=