Closed TCattd closed 4 years ago
The issue has been fixed in master and will be included in the next release - thank you for the report :+1:
In the meantime, you can trigger the failing installation steps manually to get them to work:
./vendor/bin/wpemerge config:create
./vendor/bin/wpemerge install:dependencies
./vendor/bin/wpemerge assets:build
./vendor/bin/wpemerge install
This is the same issue as described here https://github.com/htmlburger/wpemerge/issues/19 The same error at the end: https://tppr.me/euzLs
For the sake of order, will copy that issue here:
Version WP Emerge: 0.15.1 WordPress: 5.3 PHP: 7.4
Expected behavior Install the theme using the composer without any error.
Actual behavior I'm receiving the following error:
Installing htmlburger/wpemerge-theme (0.15.1)
Created project in cargaexport-wp-theme Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 19 installs, 0 updates, 0 removals
guzzlehttp/psr7 suggests installing zendframework/zend-httphandlerrunner (Emit PSR-7 responses) symfony/console suggests installing symfony/event-dispatcher symfony/console suggests installing symfony/lock filp/whoops suggests installing symfony/var-dumper (Pretty print complex values better with var-dumper available) filp/whoops suggests installing whoops/soap (Formats errors as SOAP responses) Writing lock file
Generating autoload files PHP CodeSniffer Config installed_paths set to ../../wp-coding-standards/wpcs
[ErrorException]
Trying to access array offset on value of type int
Steps to reproduce using PHP 7.4, do: composer create-project htmlburger/wpemerge-theme my-wp-theme
Comments I haven't found any issue related to PHP 7.4 so i'm creating this one. I was able to install the theme with PHP 7.3