Metadrop / drupal-boilerplate

Drupal projects up and running with Docker and many other tools in minutes
28 stars 23 forks source link

PHP Fatal error: Trait 'Robo\Task\Filesystem\loadTasks' not found when creating Radix subtheme #56

Closed rsanzante closed 2 years ago

rsanzante commented 2 years ago

The problem comes from Robo 3.x.

In their changelog you can read:

3.0.0 02/21/2021
PHP 8 support
Update to league/container ^3
Prefer passing ConsoleIO $io to commands over $this->io(), which is now deprecated.
loadTasks renamed to Tasks

See the last line? loadTasks renamed to Tasks. This breaks Radix 4.10. It is fixed in Radix 5.x, but there is no stable version, only RC.

Soluiton: I guess downgrade Robo to 2.x.

rsanzante commented 2 years ago

It seems Radix 4.x has fixed this so Robo needs to be upgraded. This is being done already.