Laravel Composer错误Uncaught ReflectionException:Container.php中不存在类日志:738

时间:2016-05-08 08:40:03

标签: php apache laravel laravel-5 composer-php

我有一个问题,当我使用命令composer需要st。或者php artisan st。我得到这个错误:

  

使用版本^ 2.3进行干预/图像./composer.json已经   更新

     
    

php artisan clear-compiled

  
     

致命错误:未捕获ReflectionException:类日志不存在   d:\ Programy \ WAMP \ WWW \博客\供应商\ laravel \框架的\ src \照亮\集装箱\ Container.php:738   堆栈跟踪:

     

0 D:\ Programy \ Wamp \ www \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php(738):

     

ReflectionClass-> __构建体('登录&#39)

     

1 D:\ Programy \ Wamp \ www \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php(633):

     

Illuminate \ Container \ Container-> build(' log',Array)

     

2 D:\ Programy \ Wamp \ www \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Foundation \ Application.php(697):

     

Illuminate \ Container \ Container-> make(' log',Array)

     

3 D:\ Programy \ Wamp \ www \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php(853):

     

照亮\基金会\应用 - >使('登录&#39)

     

4 D:\ Programy \ Wamp \ www \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php(808):

     

照亮\集装箱\容器 - > resolveClass(对象(ReflectionParameter))

     

5 D:\ Programy \ Wamp \ www \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php(777):

     

Il in   d:\ Programy \ WAMP \ WWW \博客\供应商\ laravel \框架的\ src \照亮\集装箱\ Container.php   在线738 PHP致命错误:未捕获ReflectionException:类日志   在...中不存在   d:\ Programy \ WAMP \ WWW \博客\供应商\ laravel \框架的\ src \照亮\集装箱\ Container.php:738   堆栈跟踪:

     

0 D:\ Programy \ Wamp \ www \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php(738):

     

ReflectionClass-> __构建体('登录&#39)

     

1 D:\ Programy \ Wamp \ www \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php(633):

     

Illuminate \ Container \ Container-> build(' log',Array)

     

2 D:\ Programy \ Wamp \ www \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Foundation \ Application.php(697):

     

Illuminate \ Container \ Container-> make(' log',Array)

     

3 D:\ Programy \ Wamp \ www \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php(853):

     

照亮\基金会\应用 - >使('登录&#39)

     

4 D:\ Programy \ Wamp \ www \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php(808):

     

照亮\集装箱\容器 - > resolveClass(对象(ReflectionParameter))

     

5 D:\ Programy \ Wamp \ www \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php(777):

     

Il in   d:\ Programy \ WAMP \ WWW \博客\供应商\ laravel \框架的\ src \照亮\集装箱\ Container.php   在线738脚本php工匠清晰编译处理   返回带有错误的pre-update-cmd事件

     

安装失败,将./composer.json恢复为原始版本   内容。

     

[RuntimeException]错误输出:PHP致命错误:未捕获   ReflectionException:类日志不存在   d:\ Programy \ WAMP \ WWW \博客\供应商\ laravel \框架的\ src \照亮\集装箱\ Container.php:738   堆栈跟踪:#0   d:\ Programy \ WAMP \ WWW \博客\供应商\ laravel \框架的\ src \照亮\集装箱\ Container.php(738):   ReflectionClass-> __ construct(' log')#1   d:\ Programy \ WAMP \ WWW \博客\供应商\ laravel \框架的\ src \照亮\集装箱\ Container.php(633):   Illuminate \ Container \ Container-> build(' log',Array)#2   d:\ Programy \ WAMP \ WWW \博客\供应商\ laravel \框架的\ src \照亮\基金会\ Application.php(697):   Illuminate \ Container \ Container-> make(' log',Array)#3   d:\ Programy \ WAMP \ WWW \博客\供应商\ laravel \框架的\ src \照亮\集装箱\ Container.php(853):   Illuminate \ Foundation \ Application-> make(' log')#4   d:\ Programy \ WAMP \ WWW \博客\供应商\ laravel \框架的\ src \照亮\集装箱\ Container.php(808):   照亮\集装箱\容器 - > resolveClass(对象(ReflectionParameter))

     

5 D:\ Programy \ Wamp \ www \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php(777):

     

Il in   d:\ Programy \ WAMP \ WWW \博客\供应商\ laravel \框架的\ src \照亮\集装箱\ Container.php   在第738行

     

要求[--dev] [--prefer-source] [--prefer-dist] [--no-plugins]   [--no-progress] [--no-update] [--update-no-dev]   [--update-with-dependencies] [--ignore-platform-reqs]   [--sort-packages] [-o | --optimize-autoloader]   [-a | --classmap-authoritative] [ - ] [] ..。

我尝试重新安装作曲家,安装新版本的PHP(7),但仍然没有改变:(请某人知道如何解决这个问题?谢谢。

1 个答案:

答案 0 :(得分:1)

好的,我想出了这个问题。包装tinymce鼓励这个。要修复它,请替换'cdn'=> url('vendor / js / tinymce / tinymce.min.js'),by 'cdn'=>配置('app.url')。'/ vendor / js / tinymce / tinymce.min.js',在 config / tinymce.php