Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Threads can't be deleted in Frontpanel. #145

Open
rygos opened this issue Jul 28, 2016 · 0 comments
Open

Issue: Threads can't be deleted in Frontpanel. #145

rygos opened this issue Jul 28, 2016 · 0 comments

Comments

@rygos
Copy link
Contributor

rygos commented Jul 28, 2016

I cant delete Threads in Frontpanel. If i trying to that i get the following error (Adminpanel works without Problems):

[2016-07-28 08:52:24] production.ERROR: exception 'BadMethodCallException' with message 'Call to undefined method Illuminate\Database\Query\Builder::forObject()' in /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2345
Stack trace:
#0 [internal function]: Illuminate\Database\Query\Builder->__call('forObject', Array)
#1 [internal function]: Illuminate\Database\Query\Builder->forObject(7)
#2 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1402): call_user_func_array(Array, Array)
#3 [internal function]: Illuminate\Database\Eloquent\Builder->__call('forObject', Array)
#4 [internal function]: Illuminate\Database\Eloquent\Builder->forObject(7)
#5 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(11643): call_user_func_array(Array, Array)
#6 [internal function]: Illuminate\Database\Eloquent\Model->__call('forObject', Array)
#7 [internal function]: Hifone\Models\Notification->forObject(7)
#8 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(11648): call_user_func_array(Array, Array)
#9 /var/www/vhosts/httpdocs/app/Handlers/Listeners/Thread/CleanupThreadRepliesHandler.php(29): Illuminate\Database\Eloquent\Model::__callStatic('forObject', Array)
#10 /var/www/vhosts/httpdocs/app/Handlers/Listeners/Thread/CleanupThreadRepliesHandler.php(29): Hifone\Models\Notification::forObject(7)
#11 [internal function]: Hifone\Handlers\Listeners\Thread\CleanupThreadRepliesHandler->handle(Object(Hifone\Events\Thread\ThreadWasRemovedEvent))
#12 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(10179): call_user_func_array(Array, Array)
#13 [internal function]: Illuminate\Events\Dispatcher->Illuminate\Events\{closure}(Object(Hifone\Events\Thread\ThreadWasRemovedEvent))
#14 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(10124): call_user_func_array(Object(Closure), Array)
#15 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(419): Illuminate\Events\Dispatcher->fire(Object(Hifone\Events\Thread\ThreadWasRemovedEvent), Array, false)
#16 /var/www/vhosts/httpdocs/app/Handlers/Commands/Thread/RemoveThreadCommandHandler.php(30): event(Object(Hifone\Events\Thread\ThreadWasRemovedEvent))
#17 [internal function]: Hifone\Handlers\Commands\Thread\RemoveThreadCommandHandler->handle(Object(Hifone\Commands\Thread\RemoveThreadCommand))
#18 /var/www/vhosts/httpdocs/vendor/laravelcollective/bus/src/Dispatcher.php(211): call_user_func(Array, Object(Hifone\Commands\Thread\RemoveThreadCommand))
#19 [internal function]: Collective\Bus\Dispatcher->Collective\Bus\{closure}(Object(Hifone\Commands\Thread\RemoveThreadCommand))
#20 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9960): call_user_func(Object(Closure), Object(Hifone\Commands\Thread\RemoveThreadCommand))
#21 /var/www/vhosts/httpdocs/app/Pipes/UseDatabaseTransactions.php(30): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Hifone\Commands\Thread\RemoveThreadCommand))
#22 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(527): Hifone\Pipes\UseDatabaseTransactions->Hifone\Pipes\{closure}(Object(Illuminate\Database\MySqlConnection))
#23 [internal function]: Illuminate\Database\Connection->transaction(Object(Closure))
#24 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(11784): call_user_func_array(Array, Array)
#25 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(6325): Illuminate\Database\DatabaseManager->__call('transaction', Array)
#26 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(6325): Illuminate\Database\DatabaseManager->transaction(Object(Closure))
#27 /var/www/vhosts/httpdocs/app/Pipes/UseDatabaseTransactions.php(31): Illuminate\Support\Facades\Facade::__callStatic('transaction', Array)
#28 /var/www/vhosts/httpdocs/app/Pipes/UseDatabaseTransactions.php(31): Illuminate\Support\Facades\DB::transaction(Object(Closure))
#29 [internal function]: Hifone\Pipes\UseDatabaseTransactions->handle(Object(Hifone\Commands\Thread\RemoveThreadCommand), Object(Closure))
#30 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9953): call_user_func_array(Array, Array)
#31 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Hifone\Commands\Thread\RemoveThreadCommand))
#32 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9938): call_user_func(Object(Closure), Object(Hifone\Commands\Thread\RemoveThreadCommand))
#33 /var/www/vhosts/httpdocs/vendor/laravelcollective/bus/src/Dispatcher.php(212): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#34 /var/www/vhosts/httpdocs/vendor/laravelcollective/bus/src/Dispatcher.php(184): Collective\Bus\Dispatcher->dispatchNow(Object(Hifone\Commands\Thread\RemoveThreadCommand), NULL)
#35 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(323): Collective\Bus\Dispatcher->dispatch(Object(Hifone\Commands\Thread\RemoveThreadCommand))
#36 /var/www/vhosts/httpdocs/app/Http/Controllers/ThreadController.php(275): dispatch(Object(Hifone\Commands\Thread\RemoveThreadCommand))
#37 [internal function]: Hifone\Http\Controllers\ThreadController->destroy(Object(Hifone\Models\Thread))
#38 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9419): call_user_func_array(Array, Array)
#39 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9481): Illuminate\Routing\Controller->callAction('destroy', Array)
#40 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9461): Illuminate\Routing\ControllerDispatcher->call(Object(Hifone\Http\Controllers\ThreadController), Object(Illuminate\Routing\Route), 'destroy')
#41 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#42 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#43 /var/www/vhosts/httpdocs/app/Http/Middleware/Authenticate.php(63): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#44 [internal function]: Hifone\Http\Middleware\Authenticate->handle(Object(Illuminate\Http\Request), Object(Closure))
#45 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9953): call_user_func_array(Array, Array)
#46 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#47 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#48 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#49 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9938): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#50 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9462): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#51 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9449): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(Hifone\Http\Controllers\ThreadController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'destroy')
#52 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(8517): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'Hifone\\Http\\Con...', 'destroy')
#53 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(8504): Illuminate\Routing\Route->runController(Object(Illuminate\Http\Request))
#54 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(8218): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
#55 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#56 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#57 /var/www/vhosts/httpdocs/app/Http/Middleware/Localize.php(78): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#58 [internal function]: Hifone\Http\Middleware\Localize->handle(Object(Illuminate\Http\Request), Object(Closure))
#59 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9953): call_user_func_array(Array, Array)
#60 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#61 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#62 /var/www/vhosts/httpdocs/app/Http/Middleware/ReadyForUse.php(40): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#63 [internal function]: Hifone\Http\Middleware\ReadyForUse->handle(Object(Illuminate\Http\Request), Object(Closure))
#64 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9953): call_user_func_array(Array, Array)
#65 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#66 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#67 /var/www/vhosts/httpdocs/app/Http/Middleware/Pjax.php(32): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#68 [internal function]: Hifone\Http\Middleware\Pjax->handle(Object(Illuminate\Http\Request), Object(Closure))
#69 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9953): call_user_func_array(Array, Array)
#70 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#71 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#72 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(3225): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#73 [internal function]: Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))
#74 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9953): call_user_func_array(Array, Array)
#75 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#76 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#77 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(13400): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#78 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#79 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9953): call_user_func_array(Array, Array)
#80 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#81 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#82 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(11943): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#83 [internal function]: Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#84 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9953): call_user_func_array(Array, Array)
#85 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#86 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#87 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(13139): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#88 [internal function]: Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#89 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9953): call_user_func_array(Array, Array)
#90 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#91 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#92 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(13076): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#93 [internal function]: Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#94 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9953): call_user_func_array(Array, Array)
#95 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#96 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#97 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#98 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9938): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#99 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(8219): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#100 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(8210): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#101 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(8200): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#102 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(2419): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#103 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#104 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#105 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(3286): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#106 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#107 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9953): call_user_func_array(Array, Array)
#108 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#109 /var/www/vhosts/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#110 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#111 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(9938): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#112 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(2366): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#113 /var/www/vhosts/httpdocs/bootstrap/cache/compiled.php(2350): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#114 /var/www/vhosts/httpdocs/public/index.php(62): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#115 {main} {"identification":{"id":"9487c4fd-948c-4667-b390-4e6c3ccb6cff"}} 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant