Patchwork \Utf8 \Bootup导致Laravel 4的问题 [英] Patchwork\Utf8\Bootup causing problems with Laravel 4
问题描述
我的项目一直工作正常,直到最近,当我运行 sudo composer自更新
。 Composer已成功更新,但我无法再迁移( php artisan migrate
)。这是我得到的错误:
My project has been working fine until recently, when I ran sudo composer self-update
. Composer successfully updated but I could no longer migrate (php artisan migrate
). This is the error I get:
PHP Fatal error: Class 'Patchwork\Utf8\Bootup' not found in /Applications/MAMP/htdocs/ThumbsUp/bootstrap/autoload.php on line 46
我跑了 composer update
和 composer install
,仍然会出现此错误。为什么在自更新后不会找到这个类?
I have ran composer update
and composer install
, and still this error persists. Why would it not be finding this class after the self-update
?
推荐答案
p>我有同样的问题,我跑 composer dump-autoload
或 php composer.phar dump-autoload
您的配置,再次运行作曲家更新,它工作。
I had the same problem, I ran composer dump-autoload
or php composer.phar dump-autoload
depending on your configuration, ran composer update again and it worked.
这篇关于Patchwork \Utf8 \Bootup导致Laravel 4的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!