-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Closed
Description
I just installed Drupal and Drush in Homestead using Composer. I know Homestead is made for Laravel, but its just so good :)
When doing anything with Drush I would get:
PHP Fatal error: Cannot redeclare base_path() (previously declared in /home/vagrant/.composer/vendor/illuminate/support/Illuminate/Support/helpers.php:365) in /home/vagrant/Workspace/drupal/8/community/core/includes/common.inc on line 830
Drupal also has a base_path global function. I ended up renaming the Laravel base_path to laravel_base_path. Maybe not the prettiest solution, but it looks like it is working for now.
Please consider some solution (probably not mine) to this problem.
EDIT: Same goes for dd()
Metadata
Metadata
Assignees
Labels
No labels