Laravel - PrettyPageExceptions not working - php

Everything was working fine until yesterday.
Exceptions were thrown in cool laravel orange/black style format.
But now, I just see a blank page and exceptions are not visible.
When I inspect the call, it shows 500 Internal Server Error.
Here is the stack trace from laravel logs:
[2014-09-16 20:07:32] local.ERROR: exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException' in E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Routing\RouteCollection.php:148
Stack trace:
#0 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Routing\Router.php(1049): Illuminate\Routing\RouteCollection->match(Object(Illuminate\Http\Request))
#1 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Routing\Router.php(1017): Illuminate\Routing\Router->findRoute(Object(Illuminate\Http\Request))
#2 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Routing\Router.php(996): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#3 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(777): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#4 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(747): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request))
#5 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Session\Middleware.php(72): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true)
#6 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Cookie\Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true)
#7 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Cookie\Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)
#8 E:\xampp\htdocs\ingeniouslive\app\vendor\stack\builder\src\Stack\StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)
#9 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(643): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))
#10 E:\xampp\htdocs\ingeniouslive\app\repo\index.php(49): Illuminate\Foundation\Application->run()
#11 {main} [] []
[2014-09-16 20:07:32] local.ERROR: exception 'RuntimeException' with message 'Could not find resource 'views/layouts.html.php' in any resource paths.(searched: E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler/../Resources)' in E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php:440
Stack trace:
#0 E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php(119): Whoops\Handler\PrettyPageHandler->getResource('views/layouts.h...')
#1 E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Run.php(247): Whoops\Handler\PrettyPageHandler->handle(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#2 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\WhoopsDisplayer.php(49): Whoops\Run->handleException(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#3 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\Handler.php(280): Illuminate\Exception\WhoopsDisplayer->display(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#4 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\Handler.php(159): Illuminate\Exception\Handler->displayException(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#5 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(753): Illuminate\Exception\Handler->handleException(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#6 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Session\Middleware.php(72): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true)
#7 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Cookie\Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true)
#8 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Cookie\Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)
#9 E:\xampp\htdocs\ingeniouslive\app\vendor\stack\builder\src\Stack\StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)
#10 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(643): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))
#11 E:\xampp\htdocs\ingeniouslive\app\repo\index.php(49): Illuminate\Foundation\Application->run()
#12 {main} [] []
[2014-09-16 20:07:32] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Uncaught exception 'RuntimeException' with message 'Could not find resource 'views/layouts.html.php' in any resource paths.(searched: E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler/../Resources)' in E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php:440
Stack trace:
#0 E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php(119): Whoops\Handler\PrettyPageHandler->getResource('views/layouts.h...')
#1 E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Run.php(247): Whoops\Handler\PrettyPageHandler->handle(Object(RuntimeException))
#2 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\WhoopsDisplayer.php(49): Whoops\Run->handleException(Object(RuntimeException))
#3 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\Handler.php(280): Illuminate\Exception\WhoopsDisplayer->display(Object(RuntimeException))
#4 E:\xampp\htdocs\ingeniou' in E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php:440
Stack trace:
#0 [internal function]: Illuminate\Exception\Handler->handleShutdown()
#1 {main} [] []
I can see something going wrong on #4. Only a partial directory path is listed: E:\xampp\htdocs\ingeniou'
I am not sure how to debug this. Please help.
PS: Things stopped working when I setup email(edited app/config/mail.php) and ran couple of artisan commands(auth:reminder-controller and auth:reminder-table)

I ran into this issue as well and had to do a fresh install of Laravel to get it working. I THINK it was caused when I refactored a folder in my views from layout to layouts. It may have done some extra refactoring and switched things up where they shouldn't' have been in other classes?
Might be best to just do a new install of laravel.

Related

Plesk reports that updates were not installed for the following items

I received this message yesterday on email from Plesk and there are a lot of items listed.
It appears to be to do largely with Wordpress Toolkit on the server. Plesk is the interface I use on my Ionos Hosted Server.
Sites are working from the server ok but obviously updates will not happen whilst these errors are present.
Does anyone have a clue what could be causing this and how to fix it please.
Thanks
Website "eeeSafe Community Safety Sustainability and Skills" (https://eeesafe.com): PHP Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/cron-command/src/Cron_Event_Command.php:418
Stack trace:
#0 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(418): date()
#1 [internal function]: Cron_Event_Command::format_event()
#2 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(460): array_map()
#3 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(366): Cron_Event_Command::get_cron_events()
#4 [internal function]: Cron_Event_Command->delete()
#5 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()
#6 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher{closure}()
#7 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func()
#8 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(419): WP_CLI\Dispatcher\Subcommand->invoke()
#9 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/class-wp-cli.php(1443): WP_CLI\Runner->run_command()
#10 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/plesk/wp-cli-toolkit-command/src/Wpt_Cron_Command.php(30): WP_CLI::run_command()
#11 [internal function]: Wpt_Cron_Command->reschedule()
#12 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()
#13 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher{closure}()
#14 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func()
#15 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(419): WP_CLI\Dispatcher\Subcommand->invoke()
#16 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(442): WP_CLI\Runner->run_command()
#17 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1276): WP_CLI\Runner->run_command_and_exit()
#18 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
#19 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process()
#20 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
#21 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('...')
#22 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wpt-wp-cli.php(31): require_once('...')
#23 {main}
thrown in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/cron-command/src/Cron_Event_Command.php on line 418
Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/cron-command/src/Cron_Event_Command.php:418
Stack trace:
#0 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(418): date()
#1 [internal function]: Cron_Event_Command::format_event()
#2 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(460): array_map()
#3 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(366): Cron_Event_Command::get_cron_events()
#4 [internal function]: Cron_Event_Command->delete()
#5 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()
#6 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher{closure}()
#7 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func()
#8 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(419): WP_CLI\Dispatcher\Subcommand->invoke()
#9 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/class-wp-cli.php(1443): WP_CLI\Runner->run_command()
#10 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/plesk/wp-cli-toolkit-command/src/Wpt_Cron_Command.php(30): WP_CLI::run_command()
#11 [internal function]: Wpt_Cron_Command->reschedule()
#12 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()
#13 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher{closure}()
#14 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func()
#15 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(419): WP_CLI\Dispatcher\Subcommand->invoke()
#16 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(442): WP_CLI\Runner->run_command()
#17 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1276): WP_CLI\Runner->run_command_and_exit()
#18 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
#19 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process()
#20 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
#21 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('...')
#22 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wpt-wp-cli.php(31): require_once('...')
#23 {main}
thrown in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/cron-command/src/Cron_Event_Command.php on line 418
Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.
I thought it might be something to do with enablin mysqli on my server, where Plesk Web Pro is being used.
I can't find how to do that, but not convinced yet that this might be the answer.

Laravel & vuejs cpanel share hosting app migration problem

I'm sorry for my English.
Good day, developers,
I need your help, I have an app that I must migrate https://creamedicinaprepagada.com/ It is developed in Laravel + VueJS, at the moment it is hosted in AWS CPANEL, but I must migrate to CPANEL HOSTINGER. I am passing all the files and databases from the AWS CPANEL to CPANEL HOSTINGER, the app i did not develop it and those are the only files I have.
In the first image you can see the public html and in the second what the AppGestorContenido folder contains.
It gives me error 500.
Stack trace:
#0 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(785): Illuminate\Events\EventServiceProvider->Illuminate\Events\{closure}(Object(Illuminate\Foundation\Application), Array)
#1 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): Illuminate\Container\Container->build(Object(Closure))
#2 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(615): Illuminate\Container\Container->resolve('events', Array)
#3 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(767): Illuminate\Container\Container->make('events', Array)
#4 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(1227): Illuminate\Foundation\Application->make('events')
#5 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Routing/RoutingServiceProvider.php(40): Illuminate\Container\Container->offsetGet('events')
#6 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(785): Illuminate\Routing\RoutingServiceProvider->Illuminate\Routing\{closure}(Object(Illuminate\Foundation\Application), Array)
#7 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): Illuminate\Container\Container->build(Object(Closure))
#8 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(615): Illuminate\Container\Container->resolve('router', Array)
#9 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(767): Illuminate\Container\Container->make('router', Array)
#10 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(927): Illuminate\Foundation\Application->make('router')
#11 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(855): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#12 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(816): Illuminate\Container\Container->resolveDependencies(Array)
#13 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): Illuminate\Container\Container->build('App\\Http\\Kernel')
#14 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(265): Illuminate\Container\Container->resolve('App\\Http\\Kernel', Array, false)
#15 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(785): Illuminate\Container\Container->Illuminate\Container\{closure}(Object(Illuminate\Foundation\Application), Array)
#16 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): Illuminate\Container\Container->build(Object(Closure))
#17 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(615): Illuminate\Container\Container->resolve('Illuminate\\Cont...', Array)
#18 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(767): Illuminate\Container\Container->make('Illuminate\\Cont...', Array)
#19 /home/tucachivache/public_html/index.php(55): Illuminate\Foundation\Application->make('Illuminate\\Cont...')
#20 {main}
thrown in /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Events/EventServiceProvider.php on line 18
[17-Feb-2021 21:54:27 UTC] PHP Warning: include(/home/tucachivache/public_html/AppGestorContenido/vendor/composer/../laravel/framework/src/Illuminate/Events/Dispatcher.php): failed to open stream: No such file or directory in /home/tucachivache/public_html/AppGestorContenido/vendor/composer/ClassLoader.php on line 444
[17-Feb-2021 21:54:27 UTC] PHP Warning: include(): Failed opening '/home/tucachivache/public_html/AppGestorContenido/vendor/composer/../laravel/framework/src/Illuminate/Events/Dispatcher.php' for inclusion (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/tucachivache/public_html/AppGestorContenido/vendor/composer/ClassLoader.php on line 444
[17-Feb-2021 21:54:27 UTC] PHP Fatal error: Uncaught Error: Class 'Illuminate\Events\Dispatcher' not found in /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Events/EventServiceProvider.php:18
Stack trace:
#0 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(785): Illuminate\Events\EventServiceProvider->Illuminate\Events\{closure}(Object(Illuminate\Foundation\Application), Array)
#1 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): Illuminate\Container\Container->build(Object(Closure))
#2 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(615): Illuminate\Container\Container->resolve('events', Array)
#3 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(767): Illuminate\Container\Container->make('events', Array)
#4 /home/tucachivache/public_html/AppGest in /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Events/EventServiceProvider.php on line 18
seems like you are missing the vendor folder from laravel
rm -rf ./vendor
composer install
php artisan migrate
my bee this worked

Unsupported operand types CakePHP

I have a CakePHP project running on other server PHP 5.6 but here this same app is not running on PHP 5.6 / 7.0.
I am using Croogo with CakePHP.
It's showing me debug error like below:
Error: [Error] Unsupported operand types
Stack Trace:
#0 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(282): include()
#1 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(201): CakePlugin::_includeFile('/var/www/vhosts...', true)
#2 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(121): CakePlugin::bootstrap('Acl')
#3 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(94): CakePlugin::load('Acl', Array)
#4 /Vendor/croogo/croogo/Extensions/Lib/CroogoPlugin.php(656): CakePlugin::load(Array, Array)
#5 /Vendor/croogo/croogo/Croogo/Config/croogo_bootstrap.php(126): CroogoPlugin::load(Array)
#6 /Vendor/croogo/croogo/Croogo/Config/bootstrap.php(8): require_once('/var/www/vhosts...')
#7 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(282): include('/var/www/vhosts...')
#8 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(201): CakePlugin::_includeFile('/var/www/vhosts...', false)
#9 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(121): CakePlugin::bootstrap('Croogo')
#10 /Config/bootstrap.php(78): CakePlugin::load('Croogo', Array)
#11 /Vendor/cakephp/cakephp/lib/Cake/Core/Configure.php(98): include('/var/www/vhosts...')
#12 /Vendor/cakephp/cakephp/lib/Cake/bootstrap.php(432): Configure::bootstrap(true)
#13 /webroot/index.php(90): include('/var/www/vhosts...')
#14 {main}
It is from my tmp/logs/error.log file
Is there any fix?
Thanks in advance
Try debugging this place: /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(282): include() #1. See which file it's trying to include when failing and what's in it.

Error: Uncaught exception 'Twig_Error_Loader' with message 'The "src/assets/" directory does not exist.'

Getting this strange error when accessing the backend in bolt. I haven't deleted this particular directory, and the frontent works fine.
Stack trace:
#0 src/Render.php(53): Twig_Loader_Filesystem->addPath('/var/www/html/h...')
#1 src/Application.php(607): Bolt\Render->render('error.twig', Array)
#2 [internal function]: Bolt\Application->errorHandler(Object(Twig_Error_Loader), 500)
#3 vendor/silex/silex/src/Silex/ExceptionListenerWrapper.php(52): call_user_func(Array, Object(Twig_Error_Loader), 500)
#4 [internal function]: Silex\ExceptionListenerWrapper->__invoke(Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent), 'kernel.exceptio...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#5 vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(164): call_user_func(Object(Silex\ExceptionListenerWrapper), Object(Sym
File: vendor/twig/twig/lib/Twig/Loader/Filesystem.php
Line: 93

Typo3 solr not showing search result

I have successfully managed to install solr with typo3 6.2
Solr version 4.2
Typo3 version 6.2
Typo3 solr extension 2.8
Indexing processing is working fine as I am not getting anything in the devlog extension .But the problem is that when i try to search something in front end I am getting an error like this.
Es tut uns leid. Ihre Suchanfrage konnte nicht verarbeitet werden.
And in Backend typo3 devlog am getting an error like this
0: exception 'Apache_Solr_ParserException' with message 'Solr response does not appear to be valid JSON, please examine the raw response with getRawResponse() method' in /html/typo3/typo3conf/ext/solr/lib/SolrPhpClient/Apache/Solr/Response.php:206 Stack trace: #0 /html/typo3/typo3conf/ext/solr/lib/SolrPhpClient/Apache/Solr/Response.php(164): Apache_Solr_Response->_parseData() #1 /html/typo3/typo3conf/ext/solr/classes/class.tx_solr_search.php(365): Apache_Solr_Response->__get('response') #2 /html/typo3/typo3conf/ext/solr/pi_results/class.tx_solr_pi_results.php(167): tx_solr_Search->getNumberOfResults() #3 /html/typo3/typo3conf/ext/solr/classes/pluginbase/class.tx_solr_pluginbase_commandpluginbase.php(62): tx_solr_pi_results->getCommandList() #4 /html/typo3/typo3conf/ext/solr/classes/pluginbase/class.tx_solr_pluginbase_pluginbase.php(106): tx_solr_pluginbase_CommandPluginBase->render(NULL) #5 [internal function]: tx_solr_pluginbase_PluginBase->main('', Array) #6 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(6579): call_user_func_array(Array, Array) #7 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php(41): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction('tx_solr_pi_resu...', Array, '') #8 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(863): TYPO3\CMS\Frontend\ContentObject\UserContentObject->render(Array) #9 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3641): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->USER(Array) #10 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3589): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript_process(Array) #11 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3557): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent() #12 /html/typo3/typo3_src-6.2.4/typo3/sysext/cms/tslib/index_ts.php(231): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript() #13 /html/typo3/typo3_src-6.2.4/index.php(28): require('/html/typo3/typ...') #14 {main}
0: exception 'Apache_Solr_ParserException' with message 'Solr response does not appear to be valid JSON, please examine the raw response with getRawResponse() method' in /html/typo3/typo3conf/ext/solr/lib/SolrPhpClient/Apache/Solr/Response.php:206 Stack trace: #0 /html/typo3/typo3conf/ext/solr/lib/SolrPhpClient/Apache/Solr/Response.php(164): Apache_Solr_Response->_parseData() #1 /html/typo3/typo3conf/ext/solr/classes/class.tx_solr_search.php(365): Apache_Solr_Response->__get('response') #2 /html/typo3/typo3conf/ext/solr/pi_results/class.tx_solr_pi_results.php(167): tx_solr_Search->getNumberOfResults() #3 /html/typo3/typo3conf/ext/solr/classes/pluginbase/class.tx_solr_pluginbase_commandpluginbase.php(62): tx_solr_pi_results->getCommandList() #4 /html/typo3/typo3conf/ext/solr/classes/pluginbase/class.tx_solr_pluginbase_pluginbase.php(106): tx_solr_pluginbase_CommandPluginBase->render(NULL) #5 [internal function]: tx_solr_pluginbase_PluginBase->main('', Array) #6 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(6579): call_user_func_array(Array, Array) #7 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php(41): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction('tx_solr_pi_resu...', Array, '') #8 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(863): TYPO3\CMS\Frontend\ContentObject\UserContentObject->render(Array) #9 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3641): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->USER(Array) #10 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3589): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript_process(Array) #11 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3557): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent() #12 /html/typo3/typo3_src-6.2.4/typo3/sysext/cms/tslib/index_ts.php(231): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript() #13 /html/typo3/typo3_src-6.2.4/index.php(28): require('/html/typo3/typ...') #14 {main}
Can someone help me with this ??
Any kind of help will appreciated
Thanks in advance
as far as i know Typo3 solr extension 2.8 is not compatible with typo3 6.2. Use 3.0.0 instead

Categories