You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to start wp-env with PHP 5.6 but when I do so, I get an error:
✖ Error while running docker-compose command.
WordPress is already installed.
Success: Updated the constant 'WP_DEBUG' in the 'wp-config.php' file with the raw value 'true'.
Creating e6c93f608f26ae7e0e7a5f1fa29a6a3e_cli_run ...
Creating e6c93f608f26ae7e0e7a5f1fa29a6a3e_cli_run ... done
Error: Could not process the 'wp-config.php' transformation.
Reason: Unable to locate placement anchor.
Step-by-step reproduction instructions
Run:
WP_ENV_PHP_VERSION=5.6 npm run wp-env start
This happens with PHP 7.0 as well. The errors no longer occur with PHP>=7.1.
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered:
I've ben able able to find a workaround. I've used
"phpVersion": "7.4"
to start the containers and install WordPress.
Then I stopped them and changed the value back to "5.6".
Then I started the containers again (with --update option) and this time there were no errors.
But this needs a proper fix.
Description
I'm attempting to start
wp-env
with PHP 5.6 but when I do so, I get an error:Step-by-step reproduction instructions
Run:
This happens with PHP 7.0 as well. The errors no longer occur with PHP>=7.1.
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: