Multisite + Tailor bug

Hi guys,
I have been playing with new way that translations works in OC 3.1. Everything seems to be working pretty fine, except for one thing that I haven’t been able to fix yet.

I am using out of the box Tailor blog solution on my website. It worked perfectly fine until I turned on Multisite. I created two sites for two languages. Used $translatable on couple of my models, everything seems to be working fine, except this Tailor blog solution.

When I try to visit frontend blog list I am getting this error:

An exception has been thrown during the rendering of a template ("Method October\Rain\Database\Collection::isMultisiteEnabled does not exist.").
<select class="navbar-nav language-picker" onchange="window.location.assign(this.value)">
    {% for site in sitePicker.sites %}
        <option value="{{ site.url }}" {{ this.site.code == site.code ? 'selected' }}>{{ site.name }}</option>
    {% endfor %}
</select>

This piece of code is located in the partial and the sitePicker component is placed in layout file. This combination works fine on the other pages, just here it is throwing this error.

I do have multisite: true on all blog blueprints.

Do you have any idea what can be a problem?

Ok I did some extra work. Still haven’t found the solution, but here is some more info.

I am using optional slug in the URL of this page:

/news/:slug?

This seems to be causing the issue, because when I put slug there it works just fine.

Thing is, it worked perfectly fine with optional slug, before I tried to use MultiSite.

Hi @kiko_balco

I can’t seem to reproduce this problem. Starting with a fresh installation of October CMS:

  1. Set all the “Blog” blueprints to use multisite: true
  2. Migrated the database
  3. Changed the file pages/blog/post to use a new URL url = "/blog/post/:slug?"

Check the error log for the complete stack trace. This would be useful in diagnosing the error.

Could it be that you have already defined another page (also static pages) with this URL? I also had this error when a static page had the same url as a normal page.

@BIT
I am not using another CMS nor Static Page with same URL, but thank you for the suggestion.

@daftspunky
Some more info, I am using CMS route prefixes for both languages, but it doesn’t seem to make any difference when I turn it off.

Also error only appears when [sitePicker] component is present. As I mentioned earlier I have it set up in CMS layout file and then I use it in CMS partial to display language picker. When I remove it, page works perfectly fine.

Also when I split the page to two ones - one without slug and one with required slug, it works perfectly fine. It is just duplicite code then.

Here is stack trace for the error:

BadMethodCallException: Method October\Rain\Database\Collection::isMultisiteEnabled does not exist. in /Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Macroable/Traits/Macroable.php:113
#0
/Applications/MAMP/htdocs/novofruct/modules/tailor/components/SectionComponent.php(223):
Illuminate\Support\Collection->__call('isMultisiteEnab...', Array)
#1
/Applications/MAMP/htdocs/novofruct/modules/tailor/components/SectionComponent.php(184):
Tailor\Components\SectionComponent->isMultisiteEnabled()
#2
/Applications/MAMP/htdocs/novofruct/modules/tailor/components/SectionComponent.php(84):
Tailor\Components\SectionComponent->handleMultisiteParams(Object(System\Models\SiteDefinition), Array)
#3
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(421):
Tailor\Components\SectionComponent->Tailor\Components\{closure}(Object(Cms\Classes\Page), Array, Object(System\Models\SiteDefinition), Object(System\Models\SiteDefinition))
#4
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249):
Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('cms.sitePicker....', Array)
#5
/Applications/MAMP/htdocs/novofruct/vendor/october/rain/src/Events/PriorityDispatcher.php(94):
Illuminate\Events\Dispatcher->dispatch('cms.sitePicker....', Array, true)
#6
/Applications/MAMP/htdocs/novofruct/vendor/october/rain/src/Events/PriorityDispatcher.php(61):
October\Rain\Events\PriorityDispatcher->fireEvent('cms.sitePicker....', Array, true)
#7
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338):
October\Rain\Events\PriorityDispatcher->fire('cms.sitePicker....', Array, true)
#8
/Applications/MAMP/htdocs/novofruct/modules/cms/components/SitePicker.php(135):
Illuminate\Support\Facades\Facade::__callStatic('fire', Array)
#9
/Applications/MAMP/htdocs/novofruct/modules/cms/components/SitePicker.php(64):
Cms\Components\SitePicker->getUrlFromPattern('/novinky/:slug?', Object(System\Models\SiteDefinition))
#10
/Applications/MAMP/htdocs/novofruct/modules/cms/components/SitePicker.php(50):
Cms\Components\SitePicker->makeUrlForSite(Object(System\Models\SiteDefinition))
#11
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/Extension/CoreExtension.php(1607):
Cms\Components\SitePicker->sites()
#12
/Applications/MAMP/htdocs/novofruct/modules/cms/twig/GetAttrNode.php(147):
twig_get_attribute(Object(Twig\Environment), Object(Twig\Source), Object(Cms\Components\SitePicker), 'sites', Array, 'any', false, false, false, 72)
#13
/Applications/MAMP/htdocs/novofruct/storage/cms/twig/86/86a74991abe67b2b834c02fe317de324a69c8ed34b4497361917b1cd8690f96b.php(212):
Cms\Twig\GetAttrNode::customGetAttribute(Object(Twig\Environment), Object(Twig\Source), Object(Cms\Components\SitePicker), 'sites', Array, 'any', false, false, false, 72)
#14
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/Template.php(394):
__TwigTemplate_463bb422f0b2e09461776df2ed2b0edc308147377e3bc71bdc794c0d2e1c5a56->doDisplay(Array, Array)
#15
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/Template.php(367):
Twig\Template->displayWithErrorHandling(Array, Array)
#16
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/Template.php(379):
Twig\Template->display(Array)
#17
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/TemplateWrapper.php(40):
Twig\Template->render(Array, Array)
#18
/Applications/MAMP/htdocs/novofruct/modules/cms/classes/Controller.php(1087):
Twig\TemplateWrapper->render(Array)
#19
/Applications/MAMP/htdocs/novofruct/modules/cms/twig/Extension.php(148):
Cms\Classes\Controller->renderPartial('site/header', Array, true)
#20
/Applications/MAMP/htdocs/novofruct/storage/cms/twig/97/9704da5f128d4712ac6b61134a5ca56055add84925df8bd800e7b69cedb93092.php(65):
Cms\Twig\Extension->partialFunction('site/header', Array, true)
#21
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/Template.php(394):
__TwigTemplate_fc9eb7c4db047f0229344c4274a9aece6f18c10c4b18e48a60a5b3fea372f8b5->doDisplay(Array, Array)
#22
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/Template.php(367):
Twig\Template->displayWithErrorHandling(Array, Array)
#23
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/Template.php(379):
Twig\Template->display(Array)
#24
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/TemplateWrapper.php(40):
Twig\Template->render(Array, Array)
#25
/Applications/MAMP/htdocs/novofruct/modules/cms/classes/Controller.php(415):
Twig\TemplateWrapper->render(Array)
#26
/Applications/MAMP/htdocs/novofruct/modules/cms/classes/Controller.php(218):
Cms\Classes\Controller->runPage(Object(Cms\Classes\Page))
#27
/Applications/MAMP/htdocs/novofruct/modules/cms/classes/CmsController.php(65):
Cms\Classes\Controller->run('/novinky')
#28
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54):
Cms\Classes\CmsController->run('en/novinky')
#29
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43):
Illuminate\Routing\Controller->callAction('run', Array)
#30
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260):
Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Cms\Classes\CmsController), 'run')
#31
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205):
Illuminate\Routing\Route->runController()
#32
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Router.php(727):
Illuminate\Routing\Route->run()
#33
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141):
Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#34
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#35
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#36
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#37
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#38
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#39
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64):
Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store), Object(Closure))
#40
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#41
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#42
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#43
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#44
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#45
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#46
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Router.php(728):
Illuminate\Pipeline\Pipeline->then(Object(Closure))
#47
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Router.php(705):
Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#48
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Router.php(669):
Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#49
/Applications/MAMP/htdocs/novofruct/vendor/october/rain/src/Router/CoreRouter.php(31):
Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#50
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190):
October\Rain\Router\CoreRouter->dispatch(Object(Illuminate\Http\Request))
#51
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141):
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#52
/Applications/MAMP/htdocs/novofruct/plugins/offline/speedy/classes/middleware/CDNMiddleware.php(40):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#53
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
OFFLINE\Speedy\Classes\Middleware\CDNMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#54
/Applications/MAMP/htdocs/novofruct/plugins/offline/speedy/classes/middleware/Http2Middleware.php(38):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#55
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
OFFLINE\Speedy\Classes\Middleware\Http2Middleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#56
/Applications/MAMP/htdocs/novofruct/plugins/offline/responsiveimages/classes/ResponsiveImagesMiddleware.php(30):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#57
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
OFFLINE\ResponsiveImages\Classes\ResponsiveImagesMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#58
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#59
/Applications/MAMP/htdocs/novofruct/vendor/october/rain/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php(23):
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
#60
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#61
/Applications/MAMP/htdocs/novofruct/plugins/vdlp/redirect/classes/RedirectMiddleware.php(78):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#62
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
Vdlp\Redirect\Classes\RedirectMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#63
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#64
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165):
Illuminate\Pipeline\Pipeline->then(Object(Closure))
#65
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134):
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#66
/Applications/MAMP/htdocs/novofruct/index.php(43):
Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#67
{main}
#0
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/Template.php(367):
Twig\Template->displayWithErrorHandling(Array, Array)
#1
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/Template.php(379):
Twig\Template->display(Array)
#2
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/TemplateWrapper.php(40):
Twig\Template->render(Array, Array)
#3
/Applications/MAMP/htdocs/novofruct/modules/cms/classes/Controller.php(1087):
Twig\TemplateWrapper->render(Array)
#4
/Applications/MAMP/htdocs/novofruct/modules/cms/twig/Extension.php(148):
Cms\Classes\Controller->renderPartial('site/header', Array, true)
#5
/Applications/MAMP/htdocs/novofruct/storage/cms/twig/97/9704da5f128d4712ac6b61134a5ca56055add84925df8bd800e7b69cedb93092.php(65):
Cms\Twig\Extension->partialFunction('site/header', Array, true)
#6
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/Template.php(394):
__TwigTemplate_fc9eb7c4db047f0229344c4274a9aece6f18c10c4b18e48a60a5b3fea372f8b5->doDisplay(Array, Array)
#7
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/Template.php(367):
Twig\Template->displayWithErrorHandling(Array, Array)
#8
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/Template.php(379):
Twig\Template->display(Array)
#9
/Applications/MAMP/htdocs/novofruct/vendor/twig/twig/src/TemplateWrapper.php(40):
Twig\Template->render(Array, Array)
#10
/Applications/MAMP/htdocs/novofruct/modules/cms/classes/Controller.php(415):
Twig\TemplateWrapper->render(Array)
#11
/Applications/MAMP/htdocs/novofruct/modules/cms/classes/Controller.php(218):
Cms\Classes\Controller->runPage(Object(Cms\Classes\Page))
#12
/Applications/MAMP/htdocs/novofruct/modules/cms/classes/CmsController.php(65):
Cms\Classes\Controller->run('/novinky')
#13
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54):
Cms\Classes\CmsController->run('en/novinky')
#14
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43):
Illuminate\Routing\Controller->callAction('run', Array)
#15
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260):
Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Cms\Classes\CmsController), 'run')
#16
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205):
Illuminate\Routing\Route->runController()
#17
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Router.php(727):
Illuminate\Routing\Route->run()
#18
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141):
Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#19
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#20
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#21
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#22
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#23
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#24
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64):
Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store), Object(Closure))
#25
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#26
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#27
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#28
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#29
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#30
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#31
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Router.php(728):
Illuminate\Pipeline\Pipeline->then(Object(Closure))
#32
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Router.php(705):
Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#33
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Routing/Router.php(669):
Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#34
/Applications/MAMP/htdocs/novofruct/vendor/october/rain/src/Router/CoreRouter.php(31):
Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#35
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190):
October\Rain\Router\CoreRouter->dispatch(Object(Illuminate\Http\Request))
#36
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141):
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#37
/Applications/MAMP/htdocs/novofruct/plugins/offline/speedy/classes/middleware/CDNMiddleware.php(40):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#38
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
OFFLINE\Speedy\Classes\Middleware\CDNMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#39
/Applications/MAMP/htdocs/novofruct/plugins/offline/speedy/classes/middleware/Http2Middleware.php(38):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#40
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
OFFLINE\Speedy\Classes\Middleware\Http2Middleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#41
/Applications/MAMP/htdocs/novofruct/plugins/offline/responsiveimages/classes/ResponsiveImagesMiddleware.php(30):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#42
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
OFFLINE\ResponsiveImages\Classes\ResponsiveImagesMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#43
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#44
/Applications/MAMP/htdocs/novofruct/vendor/october/rain/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php(23):
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
#45
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#46
/Applications/MAMP/htdocs/novofruct/plugins/vdlp/redirect/classes/RedirectMiddleware.php(78):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#47
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180):
Vdlp\Redirect\Classes\RedirectMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#48
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#49
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165):
Illuminate\Pipeline\Pipeline->then(Object(Closure))
#50
/Applications/MAMP/htdocs/novofruct/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134):
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#51
/Applications/MAMP/htdocs/novofruct/index.php(43):
Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#52
{main}

Thanks for the stack trace. This specific error was fixed on 14th November, try updating to the latest version to see if it helps.