freescout
freescout copied to clipboard
Error in Facade.php
We found some issues in new app:
Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Unknown named parameter $id at
at /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:221)
Any idea?
More info is needed to reproduce the issue. PHP version. Where do you get this error. Full error stack trace.
PHP is now 7.4
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="https://support.alquicoche.es" title="Panel">
<img src="https://support.alquicoche.es/storage/uploads/PxKj1HrnwIm00yjytfR6NPpMn.png" alt="" height="100%">
</a>
</div>
<div class="collapse navbar-collapse" id="app-navbar-collapse">
<ul class="nav navbar-nav">
<li class="dropdown ">
<a href="https://support.alquicoche.es/app-logs/app?l=eyJpdiI6ImRWc2Y2NzhxcVJaWDFzWEdRUFhCblE9PSIsInZhbHVlIjoiOEw4Z3o1dmM0bFFXUTdVaU1PUVJrSmR3cGFiUmh6bUpXbGkzZUNFSU9Raz0iLCJtYWMiOiIyMzkxOTU1ZDI4ZjliYmNmMGIyNWVjM2RiMTBkMDZmMjdjNjhlNDIyNjA1MjIxMzNhMDY5OGMxYjk2ZWJhYTU3In0=#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" v-pre="">
Correo <span class="caret"></span>
</a>
</li>
<li class="dropdown active">
<a href="https://support.alquicoche.es/app-logs/app?l=eyJpdiI6ImRWc2Y2NzhxcVJaWDFzWEdRUFhCblE9PSIsInZhbHVlIjoiOEw4Z3o1dmM0bFFXUTdVaU1PUVJrSmR3cGFiUmh6bUpXbGkzZUNFSU9Raz0iLCJtYWMiOiIyMzkxOTU1ZDI4ZjliYmNmMGIyNWVjM2RiMTBkMDZmMjdjNjhlNDIyNjA1MjIxMzNhMDY5OGMxYjk2ZWJhYTU3In0=#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" v-pre="">
Administrar <span class="caret"></span>
</a>
</li>
<li class="dropdown ">
<a href="https://support.alquicoche.es/app-logs/app?l=eyJpdiI6ImRWc2Y2NzhxcVJaWDFzWEdRUFhCblE9PSIsInZhbHVlIjoiOEw4Z3o1dmM0bFFXUTdVaU1PUVJrSmR3cGFiUmh6bUpXbGkzZUNFSU9Raz0iLCJtYWMiOiIyMzkxOTU1ZDI4ZjliYmNmMGIyNWVjM2RiMTBkMDZmMjdjNjhlNDIyNjA1MjIxMzNhMDY5OGMxYjk2ZWJhYTU3In0=#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" v-pre="">
Knowledge Base <span class="caret"></span>
</a>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown web-notifications">
<a href="https://support.alquicoche.es/app-logs/app?l=eyJpdiI6ImRWc2Y2NzhxcVJaWDFzWEdRUFhCblE9PSIsInZhbHVlIjoiOEw4Z3o1dmM0bFFXUTdVaU1PUVJrSmR3cGFiUmh6bUpXbGkzZUNFSU9Raz0iLCJtYWMiOiIyMzkxOTU1ZDI4ZjliYmNmMGIyNWVjM2RiMTBkMDZmMjdjNjhlNDIyNjA1MjIxMzNhMDY5OGMxYjk2ZWJhYTU3In0=#" class="dropdown-toggle dropdown-toggle-icon has-unread " data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" v-pre="" title="Notificaciones">
<i class="glyphicon glyphicon-bell"></i>
</a>
</li>
<li class="dropdown">
<a href="https://support.alquicoche.es/app-logs/app?l=eyJpdiI6ImRWc2Y2NzhxcVJaWDFzWEdRUFhCblE9PSIsInZhbHVlIjoiOEw4Z3o1dmM0bFFXUTdVaU1PUVJrSmR3cGFiUmh6bUpXbGkzZUNFSU9Raz0iLCJtYWMiOiIyMzkxOTU1ZDI4ZjliYmNmMGIyNWVjM2RiMTBkMDZmMjdjNjhlNDIyNjA1MjIxMzNhMDY5OGMxYjk2ZWJhYTU3In0=#" class="dropdown-toggle dropdown-toggle-icon dropdown-toggle-account" data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" v-pre="" title="Cuenta" aria-label="Cuenta">
<span class="photo-sm"><img class="person-photo" src="https://support.alquicoche.es/storage/users/5c675e7a33c8acd0183a8fa1bc8652aa.jpg"></span> <span class="nav-user">Augusto</span> <span class="caret"></span>
</a>
</li>
<li class="dropdown">
<a href="https://support.alquicoche.es/app-logs/app?l=eyJpdiI6ImRWc2Y2NzhxcVJaWDFzWEdRUFhCblE9PSIsInZhbHVlIjoiOEw4Z3o1dmM0bFFXUTdVaU1PUVJrSmR3cGFiUmh6bUpXbGkzZUNFSU9Raz0iLCJtYWMiOiIyMzkxOTU1ZDI4ZjliYmNmMGIyNWVjM2RiMTBkMDZmMjdjNjhlNDIyNjA1MjIxMzNhMDY5OGMxYjk2ZWJhYTU3In0=#" class="dropdown-toggle dropdown-toggle-icon" data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" v-pre="" title="Buscar" aria-label="Buscar" id="search-dt">
<i class="glyphicon glyphicon-search"></i>
</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="layout-2col">
<div class="sidebar-2col">
<div class="sidebar-title">
Registros
</div>
<ul class="sidebar-menu">
<li><i class="glyphicon glyphicon-list-alt"></i> <a href="https://support.alquicoche.es/app-logs/out_emails">Mensajes salientes</a></li>
<li><i class="glyphicon glyphicon-list-alt"></i> <a href="https://support.alquicoche.es/app-logs/users">Usuarios</a></li>
<li class="active"><i class="glyphicon glyphicon-list-alt"></i> <a href="https://support.alquicoche.es/app-logs/app">Registros de la app</a></li>
</ul>
</div>
<div class="content-2col">
-
<a id="delete-log" href="https://support.alquicoche.es/app-logs/app?del=eyJpdiI6IjZ2MXdzMFhBckZYNHR2bklHdDViZmc9PSIsInZhbHVlIjoiM3Y3U1k3UlFmRytOdFNUckthaFRXOXNSZ1lQeTRzSWtrRnlEREtmN1NGWT0iLCJtYWMiOiI2ZTEzYWQyMzc0N2IxMGQ5ZTIzODY2OWQ5OGNiNGY1ZjBkZTMyYWMwMzFmNjgzMGE2MWE4NjJhYWYzMjliY2U5In0=">
<svg class="svg-inline--fa fa-trash fa-w-14" aria-hidden="true" data-prefix="fa" data-icon="trash" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""></svg></a><a id="delete-log" href="https://support.alquicoche.es/app-logs/app?del=eyJpdiI6IjZ2MXdzMFhBckZYNHR2bklHdDViZmc9PSIsInZhbHVlIjoiM3Y3U1k3UlFmRytOdFNUckthaFRXOXNSZ1lQeTRzSWtrRnlEREtmN1NGWT0iLCJtYWMiOiI2ZTEzYWQyMzc0N2IxMGQ5ZTIzODY2OWQ5OGNiNGY1ZjBkZTMyYWMwMzFmNjgzMGE2MWE4NjJhYWYzMjliY2U5In0="> Delete file
</a>
-
<a id="delete-all-log" href="https://support.alquicoche.es/app-logs/app?delall=true">
<svg class="svg-inline--fa fa-trash-alt fa-w-14" aria-hidden="true" data-prefix="fa" data-icon="trash-alt" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""></svg></a><div id="app"><div class="layout-2col"><div class="content-2col"><div class="container-fluid1" id="laravel-logs"><div class="row1"><div class="col-10 table-container"><div class="p-3"><a id="delete-all-log" href="https://support.alquicoche.es/app-logs/app?delall=true"> Delete all files
</a>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<div>Alquicoche Rent a Car - Sistema de Soporte a Usuarios<br></div>
<br>
<a href="https://support.alquicoche.es/system/status">1.8.7</a>
</div>
</div>
Correo
Administrar
Knowledge Base
Reports
Augusto
Registros
[Mensajes salientes](https://support.alquicoche.es/app-logs/out_emails)
[Usuarios](https://support.alquicoche.es/app-logs/users)
[Registros de la app](https://support.alquicoche.es/app-logs/app)
Registros Feb 28, 2022 15:40 fetch-emails.log laravel-2022-02-28.log queue-jobs.log Show entries Search: Level Context Date Content error production 2022-02-28 01:17:33 Unknown named parameter $id {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Unknown named parameter $id at /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:221) [stacktrace] #0 [internal function]: Illuminate\Support\Facades\Facade::__callStatic('action', Array, id: 1) #1 /home/alquicoche/public_html/support/app/Jobs/TriggerAction.php(42): call_user_func_array('\\Eventy::action', Array) #2 [internal function]: App\Jobs\TriggerAction->handle() #3 /home/alquicoche/public_html/support/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array) #4 /home/alquicoche/public_html/support/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #5 /home/alquicoche/public_html/support/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure)) #6 /home/alquicoche/public_html/support/overrides/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL) #7 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\Container\Container->call(Array) #8 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(114): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}(Object(App\Jobs\TriggerAction)) #9 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(App\Jobs\TriggerAction)) #10 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #11 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(49): Illuminate\Bus\Dispatcher->dispatchNow(Object(App\Jobs\TriggerAction), false) #12 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(76): Illuminate\Queue\CallQueuedHandler->call(Object(Illuminate\Queue\Jobs\DatabaseJob), Array) #13 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(320): Illuminate\Queue\Jobs\Job->fire() #14 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(270): Illuminate\Queue\Worker->process('database', Object(Illuminate\Queue\Jobs\DatabaseJob), Object(Illuminate\Queue\WorkerOptions)) #15 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(114): Illuminate\Queue\Worker->runJob(Object(Illuminate\Queue\Jobs\DatabaseJob), 'database', Object(Illuminate\Queue\WorkerOptions)) #16 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(101): Illuminate\Queue\Worker->daemon('database', 'emails,default,...', Object(Illuminate\Queue\WorkerOptions)) #17 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(85): Illuminate\Queue\Console\WorkCommand->runWorker('database', 'emails,default,...') #18 [internal function]: Illuminate\Queue\Console\WorkCommand->handle() #19 /home/alquicoche/public_html/support/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array) #20 /home/alquicoche/public_html/support/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #21 /home/alquicoche/public_html/support/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure)) #22 /home/alquicoche/public_html/support/overrides/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL) #23 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\Container\Container->call(Array) #24 /home/alquicoche/public_html/support/vendor/symfony/console/Command/Command.php(255): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle)) #25 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle)) #26 /home/alquicoche/public_html/support/vendor/symfony/console/Application.php(992): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #27 /home/alquicoche/public_html/support/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(Illuminate\Queue\Console\WorkCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #28 /home/alquicoche/public_html/support/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #29 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #30 /home/alquicoche/public_html/support/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #31 /home/alquicoche/public_html/support/artisan(62): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #32 {main} "}
Looks like some broken installation. Try to reinstall the FreeScout.
I have the same issue with a brand new install in combination with the Workflow module and an automatic action for previous conversations
I have the same issue with a brand new install in combination with the Workflow module and an automatic action for previous conversations
Exactly the same issue right now (new freescout installation and basic workflow module not working for previous and new messages)
Could you please attach screenshot of Conditions and Actions
Could you please attach screenshot of Conditions and Actions
Hum, it seems a bit awkward because now the conversations have the right tag.. But the tag appears something like 2 hours after receiving the email or even more for previous emails. Workflow are not realtime based ?
And I have the same errors as augustoauroni in logs : Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Unknown named parameter $id at
But the tag appears something like 2 hours after receiving the email or even more for previous emails. Workflow are not realtime based ?
Workflows are real-time. Check your background jobs and conditions.
Update: never mind, problem fixed after updating the workflow module.
1.0.26, 1.0.27
Fix - Fixed \"Unknown named parameter $id\" error when saving automatic workflow.
I have the same problem (also on an clean install). Created an automatic workflow with "Apply to Previous" enabled.
The conditions:
The action:
failed_jobs
payload:
{"displayName":"App\\Jobs\\TriggerAction","job":"Illuminate\\Queue\\CallQueuedHandler@call","maxTries":null,"timeout":null,"timeoutAt":null,"data":{"commandName":"App\\Jobs\\TriggerAction","command":"O:22:\"App\\Jobs\\TriggerAction\":9:{s:6:\"action\";s:19:\"workflow.do_process\";s:6:\"params\";a:1:{s:2:\"id\";i:3;}s:6:\"\u0000*\u0000job\";N;s:10:\"connection\";N;s:5:\"queue\";s:7:\"default\";s:15:\"chainConnection\";N;s:10:\"chainQueue\";N;s:5:\"delay\";N;s:7:\"chained\";a:0:{}}"}}
exception:
Symfony\Component\Debug\Exception\FatalThrowableError: Unknown named parameter $id in /var/www/xxxxxxxx/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:221