Valet: Cannot redeclare global function 'info()'

Created on 1 Oct 2016  Â·  2Comments  Â·  Source: laravel/valet

OS: MacOS Sierra
php version: PHP 7.0.11

When running a fresh valet install I got the following error:

screen shot 2016-10-01 at 2 00 33 pm

_laravel/framework/src/Illuminate/Foundation/helpers.php_
screen shot 2016-10-01 at 2 01 54 pm

_laravel/valet/cli/includes/helpers.php_
screen shot 2016-10-01 at 2 03 18 pm

Most helpful comment

What is the preferred solution here? My instinct is to rename the generic 'info()' function to something less likely to collide.
Edit: I goofed and installed laravel/laravel globally instead of laravel/installer. Disreguard.

All 2 comments

What is the preferred solution here? My instinct is to rename the generic 'info()' function to something less likely to collide.
Edit: I goofed and installed laravel/laravel globally instead of laravel/installer. Disreguard.

Any reason you have laravel/framework installed globally? I would just
uninstall that.
On Sat, Oct 1, 2016 at 4:59 PM Trevor Allen [email protected]
wrote:

Closed #182 https://github.com/laravel/valet/issues/182.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/laravel/valet/issues/182#event-809427979, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEH3bMVuU6kY9jc8fvXs7IxB_WIRc_41ks5qvsmugaJpZM4KL0bo
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eberkund picture eberkund  Â·  4Comments

marianvlad picture marianvlad  Â·  5Comments

TimOgilvy picture TimOgilvy  Â·  3Comments

VinceG picture VinceG  Â·  3Comments

tommytompkins picture tommytompkins  Â·  4Comments