Call to undefined method App\Models\Project::isSectionVisible()
Illuminate\Database\Eloquent\Model::throwBadMethodCallException()Illuminate\Database\Eloquent\Model::throwBadMethodCallException()Illuminate\Database\Eloquent\Model->forwardCallTo()Illuminate\Database\Eloquent\Model->__call()164 $bType = $block['type'] ?? '';165 $bData = $block['data'] ?? [];166 @endphp167168 {{-- 🎨 CONCEPT SIDE-BY-SIDE --}}169 @if($bType === 'concept_side' && $project->isSectionVisible('concept'))170 <div class="block side-by-side concept-block fade-up">171 <div class="text-side">172 <span class="label">The Vision</span>173 <h3>{{ $bData['title'] ?? 'Architectural Concept' }}</h3>174 <div class="description">{!! $bData['content'] ?? '' !!}</div>175 </div>176 <div class="media-side">177 @php 178 $conceptImg = $bData['media'] ?? ($project->concept_image ?: ($project->featured_image ?: '')); 179 @endphp180 <a data-fslightbox="flow" href="{{ \App\Models\Media::url($conceptImg) }}">181require(string)Illuminate\Filesystem\Filesystem::{closure:Illuminate\Filesystem\Filesystem::getRequire():120}()Illuminate\Filesystem\Filesystem->getRequire()Illuminate\View\Engines\PhpEngine->evaluatePath()Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath()Illuminate\View\Engines\CompilerEngine->get()Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get()Illuminate\View\View->getContents()Illuminate\View\View->renderContents()Illuminate\View\View->render()Illuminate\Http\Response->setContent()Illuminate\Http\Response->__construct()Illuminate\Routing\Router::toResponse()Illuminate\Routing\Router->prepareResponse()Illuminate\Routing\Router->{closure:Illuminate\Routing\Router::runRouteWithinStack():821}()Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():178}()Mcamara\LaravelLocalization\Middleware\LaravelLocalizationViewPath->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Mcamara\LaravelLocalization\Middleware\LaravelLocalizationRedirectFilter->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Mcamara\LaravelLocalization\Middleware\LocaleSessionRedirect->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Mcamara\LaravelLocalization\Middleware\LaravelLocalizationRoutes->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Routing\Middleware\SubstituteBindings->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\View\Middleware\ShareErrorsFromSession->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Session\Middleware\StartSession->handleStatefulRequest()Illuminate\Session\Middleware\StartSession->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Cookie\Middleware\EncryptCookies->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Pipeline\Pipeline->then()Illuminate\Routing\Router->runRouteWithinStack()Illuminate\Routing\Router->runRoute()Illuminate\Routing\Router->dispatchToRoute()Illuminate\Routing\Router->dispatch()Illuminate\Foundation\Http\Kernel->{closure:Illuminate\Foundation\Http\Kernel::dispatchToRouter():197}()Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():178}()Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()45 \Illuminate\Support\Facades\Log::info("🚀 SEO Match: Reindirizzamento da {$currentPath} a {$redirect->new_url}");46 return redirect($redirect->new_url, $redirect->status_code);47 }48 }4950 return $next($request);51 }52}53App\Http\Middleware\RedirectMiddleware->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()Illuminate\Foundation\Http\Middleware\TrimStrings->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Http\Middleware\ValidatePostSize->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Http\Middleware\HandleCors->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Http\Middleware\TrustProxies->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Foundation\Http\Middleware\InvokeDeferredCallbacks->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Http\Middleware\ValidatePathEncoding->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Pipeline\Pipeline->then()Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()Illuminate\Foundation\Http\Kernel->handle()Illuminate\Foundation\Application->handleRequest()1516// Bootstrap Laravel and handle the request...17/** @var Application $app */18$app = require_once __DIR__.'/../bootstrap/app.php';1920$app->handleRequest(Request::capture());21select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select * from "projects" where "slug" like '%viva-spirale%' and "status" != 'draft' and "status" is not null and "is_visible" = 1 limit 1select * from "seos" where "seos"."seoable_id" in (7) and "seos"."seoable_type" = 'App\Models\Project'select * from "projects" where "id" != 7 and "status" != 'draft' and "status" is not null and "is_visible" = 1 and "typology" is null limit 3select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select * from "investment_opportunities" where "investment_opportunities"."project_id" = 7 and "investment_opportunities"."project_id" is not null limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1select exists (select 1 from "main".sqlite_master where name = 'page_settings' and type = 'table') as "exists"select * from "page_settings" where "slug" = 'global' limit 1select exists (select 1 from "main".sqlite_master where name = 'homes' and type = 'table') as "exists"select * from "homes" limit 1{
"slug": "viva-spirale"
}