Patchwork \Utf8 \Bootup导致Laravel 4的问题 [英] Patchwork\Utf8\Bootup causing problems with Laravel 4

查看:249
本文介绍了Patchwork \Utf8 \Bootup导致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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆