Error

We're sorry, but an unhandled error occurred. Please see the details below.

call_user_func_array() expects parameter 1 to be a valid callback, class 'Illuminate\Support\Collection' does not have a method 'getLastPage'

/var/www/honyaku-subs/vendor/laravel/framework/src/Illuminate/Pagination/AbstractPaginator.php line 463

457
458
459
460
461
462
463
464
465
466
467
468
469
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     */
    public function __call($method, $parameters)
    {
        return call_user_func_array([$this->getCollection(), $method], $parameters);
    }
  
    /**
     * Render the contents of the paginator when casting to string.
     *
     * @return string

Stack trace

# Called Code Document Line
48 call_user_func_array() ~/vendor/laravel/framework/src/Illuminate/Pagination/AbstractPaginator.php 463
47 Illuminate\Pagination\AbstractPaginator->__call()
46 Illuminate\Pagination\LengthAwarePaginator->getLastPage()
45 call_user_func_array() ~/vendor/twig/twig/lib/Twig/Template.php 499
44 Twig_Template->getAttribute() ~/storage/cms/twig/22/c2/dc4f0458c1b3de70bbb1fd84cef3955a3dafed34f93b607cad3f37ba8f78.php 174
43 __TwigTemplate_22c2dc4f0458c1b3de70bbb1fd84cef3955a3dafed34f93b607cad3f37ba8f78->doDisplay() ~/vendor/twig/twig/lib/Twig/Template.php 313
42 Twig_Template->displayWithErrorHandling() ~/vendor/twig/twig/lib/Twig/Template.php 287
41 Twig_Template->display() ~/vendor/twig/twig/lib/Twig/Template.php 298
40 Twig_Template->render() ~/modules/cms/classes/Controller.php 370
39 Cms\Classes\Controller->runPage() ~/modules/cms/classes/Controller.php 208
38 Cms\Classes\Controller->run() ~/modules/cms/classes/CmsController.php 47
37 Cms\Classes\CmsController->run()
36 call_user_func_array() ~/vendor/laravel/framework/src/Illuminate/Routing/Controller.php 246
35 Illuminate\Routing\Controller->callAction() ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 162
34 Illuminate\Routing\ControllerDispatcher->call() ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 107
33 Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}()
32 call_user_func() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 141
31 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
30 call_user_func() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 101
29 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 108
28 Illuminate\Routing\ControllerDispatcher->callWithinStack() ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 67
27 Illuminate\Routing\ControllerDispatcher->dispatch() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 204
26 Illuminate\Routing\Route->runWithCustomDispatcher() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 134
25 Illuminate\Routing\Route->run() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 701
24 Illuminate\Routing\Router->Illuminate\Routing\{closure}()
23 call_user_func() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 141
22 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
21 call_user_func() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 101
20 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 703
19 Illuminate\Routing\Router->runRouteWithinStack() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 670
18 Illuminate\Routing\Router->dispatchToRoute() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 628
17 Illuminate\Routing\Router->dispatch() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 214
16 Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
15 call_user_func() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 141
14 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php 55
13 Illuminate\View\Middleware\ShareErrorsFromSession->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 125
12 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php 61
11 Illuminate\Session\Middleware\StartSession->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 125
10 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php 36
9 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 125
8 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php 40
7 Illuminate\Cookie\Middleware\EncryptCookies->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 125
6 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php 42
5 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 125
4 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
3 call_user_func() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 101
2 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 115
1 Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 84
0 Illuminate\Foundation\Http\Kernel->handle() ~/index.php 44