Skip to content

Error with PHP 8 str_contains function when upgrade to 2.4.3 #33945

Closed
@manhtranisobar

Description

@manhtranisobar

Preconditions (*)

  1. Magento current version: enterprise 2.4.1-p1
  2. Use PHP 7.4
  3. Disable MSI modules

Steps to reproduce (*)

1.Run composer command: composer require magento/product-enterprise-edition=2.4.3 --no-update
2.Run composer update command: composer update

Expected result (*)

  1. Upgrade to Magento EE 2.4.3 successfully

Actual result (*)

  1. An error exception appear
    Fatal error: Uncaught Error: Call to undefined function Magento\Framework\Filesystem\Directory\str_contains() in vendor/magento/framework/Filesystem/Directory/DenyListPathValidator.php:74
    image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions