martin_emmert
Hi Jared,
currently your Breadcrumb Plugin Crashes with the new Build 286:
Call to undefined method Cms\Classes\Page::addVisible()
<projectroot>/modules/cms/Classes/CmsObject.php line 558
552 if (!$this->theme) {
553 $query = $this->newQuery();
554 return call_user_func_array(array($query, $method), $parameters);
555 }
556
557 $className = get_class($this);
558 throw new \BadMethodCallException("Call to undefined method {$className}::{$method}()");
559 }
560
561 /**
562 * Handle dynamic static method calls into the method.
563 * @param string $method
564 * @param array $parameters
Stacktrace:
# | Called Code | Document | Line |
---|---|---|---|
46 | Cms\Classes\CmsObject->__call(…) | ~/plugins/mey/breadcrumbs/components/Breadcrumbs.php | 95 |
45 | Cms\Classes\Page->addVisible(…) | ~/plugins/mey/breadcrumbs/components/Breadcrumbs.php | 95 |
44 | Mey\Breadcrumbs\Components\Breadcrumbs->buildPagesList(…) | ~/plugins/mey/breadcrumbs/components/Breadcrumbs.php | 66 |
43 | Mey\Breadcrumbs\Components\Breadcrumbs->onRun() | ~/modules/cms/Classes/CmsCompoundObject.php | 150 |
42 | Cms\Classes\CmsCompoundObject->runComponents() | ~/modules/cms/Classes/Controller.php | 418 |
41 | Cms\Classes\Controller->execPageCycle() | ~/modules/cms/Classes/Controller.php | 350 |
40 | Cms\Classes\Controller->runPage(…) | ~/modules/cms/Classes/Controller.php | 208 |
39 | Cms\Classes\Controller->run(…) | ~/modules/cms/Classes/CmsController.php | 47 |
38 | Cms\Classes\CmsController->run(…) | ||
37 | call_user_func_array(…) | ~/vendor/laravel/framework/src/Illuminate/Routing/Controller.php | 246 |
36 | Illuminate\Routing\Controller->callAction(…) | ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php | 162 |
35 | Illuminate\Routing\ControllerDispatcher->call(…) | ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php | 107 |
34 | Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}(…) | ||
33 | call_user_func(…) | ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php | 141 |
32 | Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) | ||
31 | call_user_func(…) | ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php | 101 |
30 | Illuminate\Pipeline\Pipeline->then(…) | ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php | 108 |
29 | Illuminate\Routing\ControllerDispatcher->callWithinStack(…) | ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php | 67 |
28 | Illuminate\Routing\ControllerDispatcher->dispatch(…) | ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php | 204 |
27 | Illuminate\Routing\Route->runWithCustomDispatcher(…) | ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php | 134 |
26 | Illuminate\Routing\Route->run(…) | ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php | 701 |
25 | Illuminate\Routing\Router->Illuminate\Routing\{closure}(…) | ||
24 | call_user_func(…) | ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php | 141 |
23 | Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) | ||
22 | call_user_func(…) | ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php | 101 |
21 | Illuminate\Pipeline\Pipeline->then(…) | ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php | 703 |
20 | Illuminate\Routing\Router->runRouteWithinStack(…) | ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php | 670 |
19 | Illuminate\Routing\Router->dispatchToRoute(…) | ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php | 628 |
18 | Illuminate\Routing\Router->dispatch(…) | ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php | 214 |
17 | Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(…) | ||
16 | call_user_func(…) | ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php | 141 |
15 | Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) | ~/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php | 55 |
14 | Illuminate\View\Middleware\ShareErrorsFromSession->handle(…) | ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php | 125 |
13 | Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) | ~/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php | 61 |
12 | Illuminate\Session\Middleware\StartSession->handle(…) | ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php | 125 |
11 | Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) | ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php | 36 |
10 | Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(…) | ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php | 125 |
9 | Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) | ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php | 40 |
8 | Illuminate\Cookie\Middleware\EncryptCookies->handle(…) | ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php | 125 |
7 | Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) | ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php | 42 |
6 | Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(…) | ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php | 125 |
5 | Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) | ||
4 | call_user_func(…) | ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php | 101 |
3 | Illuminate\Pipeline\Pipeline->then(…) | ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php | 115 |
2 | Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(…) | ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php | 84 |
1 | Illuminate\Foundation\Http\Kernel->handle(…) | ~/index.php | 44 |
ScDraft
Yes, it crashes because octobrcms rollback the idea of using $visible on CmsCompoundObjects see https://github.com/octobercms/october/commit/0f215785f340b912c12b993a59ff236f8a0e31af
I will send the PR today.
1-4 of 4