Skip to content
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

Deprecated Functionality: implode(): Passing glue string after array is deprecated. #116

Open
rensvw opened this issue Oct 27, 2020 · 0 comments

Comments

@rensvw
Copy link

rensvw commented Oct 27, 2020

Describe the bug
I get the following error message while trying to force deploy the static content:

Deprecated Functionality: implode(): Passing glue string after ar
ray is deprecated. Swap the parameters in /var/www/public/vendor/
scandipwa/locale/src/Package/PackagePool.php on line 161

To Reproduce
Steps to reproduce the behavior:

  1. Clean install of scandipwa-2.4.0
  2. Followed the install tutorial on linux
  3. " inapp bash" to get in the magento container.
  4. run the command: magento setup:static-content:deploy -f
  5. After this the error happened

Expected behavior
Deploy of the static content.

FIX

Changing line 161 in the PackagePool.php file to:

if (!preg_match('/(' . implode('|', $quotedKeysToFind) . ')/i', $key)) {

fixes the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant