celorodovalho / phpdfbot

Bot do PHPDF utilizado no telegram
GNU General Public License v3.0
29 stars 9 forks source link

Method Illuminate\Database\Eloquent\Collection::orWhere does not exist. #85

Open celorodovalho opened 4 years ago

celorodovalho commented 4 years ago

Message:

Method Illuminate\Database\Eloquent\Collection::orWhere does not exist.

File/Line:

/home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Support/Traits/Macroable.php::104

Code:

0

Trace:

#0 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/app/Console/Commands/BotPopulateChannel.php(198): Illuminate\Support\Collection->__call('orWhere', Array)
#1 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/app/Console/Commands/BotPopulateChannel.php(99): App\Console\Commands\BotPopulateChannel->notifyGroup()
#2 [internal function]: App\Console\Commands\BotPopulateChannel->handle()
#3 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(32): call_user_func_array(Array, Array)
#4 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(90): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(34): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#6 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Container/Container.php(576): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#7 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\Container\Container->call(Array)
#8 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/symfony/console/Command/Command.php(255): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#9 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#10 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/symfony/console/Application.php(1011): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput))
#11 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/symfony/console/Application.php(272): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\BotPopulateChannel), Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput))
#12 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput))
#13 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Console/Application.php(90): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput))
#14 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Console/Application.php(182): Illuminate\Console\Application->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput))
#15 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(275): Illuminate\Console\Application->call('bot:populate:ch...', Array, NULL)
#16 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(239): Illuminate\Foundation\Console\Kernel->call('bot:populate:ch...', Array)
#17 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/app/Services/CommandsHandler.php(135): Illuminate\Support\Facades\Facade::__callStatic('call', Array)
#18 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/app/Services/CommandsHandler.php(91): App\Services\CommandsHandler->processCallbackQuery(Object(Telegram\Bot\Objects\CallbackQuery))
#19 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/app/Http/Controllers/Bot/DefaultController.php(100): App\Services\CommandsHandler->processUpdate(Object(Telegram\Bot\Objects\Update))
#20 [internal function]: App\Http\Controllers\Bot\DefaultController->webhook('545873070:AAGgn...', 'phpdfbot')
#21 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): call_user_func_array(Array, Array)
#22 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction('webhook', Array)
#23 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Route.php(219): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(App\Http\Controllers\Bot\DefaultController), 'webhook')
#24 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Route.php(176): Illuminate\Routing\Route->runController()
#25 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Router.php(680): Illuminate\Routing\Route->run()
#26 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))
#27 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))
#28 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Dingo\Api\Http\Request), Object(Closure))
#29 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))
#30 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(75): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))
#31 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Dingo\Api\Http\Request), Object(Closure))
#32 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))
#33 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))
#34 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Dingo\Api\Http\Request), Object(Closure))
#35 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))
#36 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(56): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))
#37 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Session\Middleware\StartSession->handle(Object(Dingo\Api\Http\Request), Object(Closure))
#38 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))
#39 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))
#40 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Dingo\Api\Http\Request), Object(Closure))
#41 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))
#42 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(66): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))
#43 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Dingo\Api\Http\Request), Object(Closure))
#44 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))
#45 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))
#46 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Router.php(682): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#47 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Router.php(657): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Dingo\Api\Http\Request))
#48 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Router.php(623): Illuminate\Routing\Router->runRoute(Object(Dingo\Api\Http\Request), Object(Illuminate\Routing\Route))
#49 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Router.php(612): Illuminate\Routing\Router->dispatchToRoute(Object(Dingo\Api\Http\Request))
#50 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/dingo/api/src/Routing/Adapter/Laravel.php(88): Illuminate\Routing\Router->dispatch(Object(Dingo\Api\Http\Request))
#51 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/dingo/api/src/Routing/Router.php(518): Dingo\Api\Routing\Adapter\Laravel->dispatch(Object(Dingo\Api\Http\Request), 'v1')
#52 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/dingo/api/src/Http/Middleware/Request.php(126): Dingo\Api\Routing\Router->dispatch(Object(Dingo\Api\Http\Request))
#53 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Dingo\Api\Http\Middleware\Request->Dingo\Api\Http\Middleware\{closure}(Object(Dingo\Api\Http\Request))
#54 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/app/Http/Middleware/Cors.php(18): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))
#55 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): App\Http\Middleware\Cors->handle(Object(Dingo\Api\Http\Request), Object(Closure))
#56 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))
#57 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Fideloper\Proxy\TrustProxies->handle(Object(Dingo\Api\Http\Request), Object(Closure))
#58 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))
#59 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Dingo\Api\Http\Request), Object(Closure))
#60 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))
#61 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Dingo\Api\Http\Request), Object(Closure))
#62 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))
#63 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Dingo\Api\Http\Request), Object(Closure))
#64 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(62): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))
#65 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Dingo\Api\Http\Request), Object(Closure))
#66 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))
#67 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/dingo/api/src/Http/Middleware/Request.php(127): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#68 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/dingo/api/src/Http/Middleware/Request.php(103): Dingo\Api\Http\Middleware\Request->sendRequestThroughRouter(Object(Dingo\Api\Http\Request))
#69 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Dingo\Api\Http\Middleware\Request->handle(Object(Dingo\Api\Http\Request), Object(Closure))
#70 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#71 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#72 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#73 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#74 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/public/index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#75 {main}

Log:

https://dev.marcelorodovalho.com/workspace/phpdfbot/storage/app/logs/1580223762.log
Romerolweb commented 4 years ago

i have the same problem

Romerolweb commented 4 years ago

BadMethodCallException Method Illuminate\Database\Eloquent\Collection::orWhere does not exist.

aminemshady2080 commented 3 years ago

so did y'all solve this?