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'
基础教程推荐
- XAMPP 服务器不加载 CSS 文件 2022-01-01
- 在 PHP 中强制下载文件 - 在 Joomla 框架内 2022-01-01
- Libpuzzle 索引数百万张图片? 2022-01-01
- 通过 PHP SoapClient 请求发送原始 XML 2021-01-01
- 在多维数组中查找最大值 2021-01-01
- 如何在 PHP 中的请求之间持久化对象 2022-01-01
- 超薄框架REST服务两次获得输出 2022-01-01
- WooCommerce 中选定产品类别的自定义产品价格后缀 2021-01-01
- mysqli_insert_id 是否有可能在高流量应用程序中返回 2021-01-01
- 在 Woocommerce 中根据运输方式和付款方式添加费用 2021-01-01