无论如何,让Stack Trace:
调试信息更加扩展......我的主要意思是,没有修剪信息,因为我可能永远不知道什么时候需要它。
通过修剪文本,我的意思是如下信息:
pre>rtrim() expects parameter 1 to be string, array given</pre>
<h3>Location:</h3>
<pre>/home/tmcwntc/public_html/staging/laravel/bundle.php on line 190</pre>
<h3>Stack Trace:</h3>
<pre>#0 /home/tmcwntc/public_html/staging/laravel/laravel.php(42): Laravel\Error::native(2, 'rtrim() expects...', '/home/tmcwntc/p...', 190)
#1 [internal function]: Laravel\{closure}(2, 'rtrim() expects...', '/home/tmcwntc/p...', 190, Array)
#2 /home/tmcwntc/public_html/staging/laravel/bundle.php(190): rtrim(Array, '/')
#3 /home/tmcwntc/public_html/staging/laravel/routing/router.php(458): Laravel\Bundle::handles(Array)
#4 /home/tmcwntc/public_html/staging/laravel/routing/route.php(415): Laravel\Routing\Router::route('ADMIN.IMAGES@UP...', Array)
#5 /home/tmcwntc/public_html/staging/application/controllers/admin/news.php(70): Laravel\Routing\Route::forward('admin.images@up...', Array)