Laravel 4:致命错误:在 autoload.php 中找不到类 'PatchworkUtf8Bootup'

Laravel 4: Fatal error: Class #39;PatchworkUtf8Bootup#39; not found in autoload.php(Laravel 4:致命错误:在 autoload.php 中找不到类 PatchworkUtf8Bootup)
本文介绍了Laravel 4:致命错误:在 autoload.php 中找不到类 'PatchworkUtf8Bootup'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将 "cviebrock/image-validator": "1.0.*" 添加到 composer.jsonrequire 部分.之后,我运行 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'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Convert JSON integers and floats to strings(将JSON整数和浮点数转换为字符串)
in php how do I use preg replace to turn a url into a tinyurl(在php中,如何使用preg替换将URL转换为TinyURL)
all day appointment for ics calendar file wont work(ICS日历文件的全天约会不起作用)
trim function is giving unexpected values php(Trim函数提供了意外的值php)
Basic PDO connection to MySQL(到MySQL的基本PDO连接)
PHP number_format returns 1.00(Php number_Format返回1.00)