Laravel 4: Fatal error: Class #39;PatchworkUtf8Bootup#39; not found in autoload.php(Laravel 4:致命错误:在 autoload.php 中找不到类 PatchworkUtf8Bootup)
问题描述
我将 "cviebrock/image-validator": "1.0.*" 添加到 composer.json 的 require 部分.之后,我运行 composer update,我收到了这个致命错误.
I added "cviebrock/image-validator": "1.0.*" to require section of composer.json. After, I ran composer update, I am getting this Fatal error.
:::错误:::
Fatal error: Class 'PatchworkUtf8Bootup' not found in F:xampphtdocsproject
bootstrapautoload.php on line 46
Script php artisan clear-compiled handling the post-update-cmd event returned wi
th an error
[RuntimeException]
Error Output:
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock]
[--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--with-
dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [packages1] ... [
packagesN]
:::END of ERROR:::
:::END of ERROR:::
:::COMPOSER.JSON 需要部分:::
:::COMPOSER.JSON Require section:::
"require": {
"intervention/image": "2.*",
"cviebrock/image-validator": "1.0.*"
},
我需要帮助来纠正这个致命错误.
I need help in rectifying this fatal error.
谢谢 &问候,
Thanks & Regards,
迈克尔·桑玛
推荐答案
这个错误在我看来好像没有安装 patchwork/utf8
包.
This error seems to me like there is no patchwork/utf8
package installed.
在您的供应商文件夹中查看该包是否存在或在您的 composer.json 文件的 require 部分中添加:"patchwork/utf8": "1.1.*"
然后执行 composer更新
.
See in your vendor folder whether the package exists or add in the require section in your composer.json file: "patchwork/utf8": "1.1.*"
and then do composer update
.
这篇关于Laravel 4:致命错误:在 autoload.php 中找不到类 'PatchworkUtf8Bootup'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Laravel 4:致命错误:在 autoload.php 中找不到类 'PatchworkUtf8Bootup'
- 如何定位 php.ini 文件 (xampp) 2022-01-01
- 带有通配符的 Laravel 验证器 2021-01-01
- Laravel 仓库 2022-01-01
- 正确分离 PHP 中的逻辑/样式 2021-01-01
- PHP Count 布尔数组中真值的数量 2021-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01
- 没有作曲家的 PSR4 自动加载 2022-01-01
- 从 PHP 中的输入表单获取日期 2022-01-01
- SoapClient 设置自定义 HTTP Header 2021-01-01
- Mod使用GET变量将子域重写为PHP 2021-01-01