Attempt to read property "ID" on int
Roots\Acorn\Bootstrap\HandleExceptions->handleError(integer, string, string, integer)9 SupportsMode: false10 SupportsInnerBlocks: false11 SupportsMultiple: true12--}}1314@php15$event = get_field('event');16 $date_debut = get_field('date',$event->ID);17 //$lieu = wp_filter_nohtml_kses( get_field('lieu',$event->ID) );18 $debut = date_i18n('j M', strtotime($date_debut));19 $debut_heure = date_i18n('H:i', strtotime($date_debut));20 $debut_jour = date_i18n('j', strtotime($date_debut));21 $debut_mois = date_i18n('M', strtotime($date_debut));22 $date_fin = get_field('end_date',$event->ID);23 $fin = $date_fin ? date_i18n('j M',strtotime($date_fin)) : null;24 $fin_heure = $date_fin ? date_i18n('H:i',strtotime($date_fin)) : null;25 $fin_jour = $date_fin ? date_i18n('j', strtotime($date_fin)) : null;26require(string)Illuminate\Filesystem\Filesystem::{closure:Illuminate\Filesystem\Filesystem::getRequire():120}()Illuminate\Filesystem\Filesystem->getRequire(string, array)Illuminate\View\Engines\PhpEngine->evaluatePath(string, array)Illuminate\View\Engines\CompilerEngine->get(string, array)Illuminate\View\View->getContents()Illuminate\View\View->renderContents()Illuminate\View\View->render()28 }2930 // Merge our overrides on top so with() keys (including 'block') win.31 $data = array_merge($with, $this->with());3233 return view($view, $data)->render();34 }3536 /**37 * Replace the Block object with a plain array so templates written for38 * ACF's raw $block array keep working without modification.39 */40 public function with(): array41 {42 return [43 'block' => array_merge((array) $this->block, [44 'is_preview' => $this->preview,45App\Blocks\Block->view(string, array)Log1x\AcfComposer\Block->render(array, string, boolean, integer, object(WP_Block), array)Log1x\AcfComposer\Block->{closure:Log1x\AcfComposer\Block::settings():671}(array, string, boolean, integer, object(WP_Block), array)acf_render_block(array, string, boolean, integer, object(WP_Block), array)acf_rendered_block(array, string, boolean, integer, object(WP_Block))acf_render_block_callback(array, string, object(WP_Block))WP_Block->render()WP_Block->render()WP_Block->render()WP_Block->render()render_block(array)do_blocks(string)WP_Hook->apply_filters(string, array)apply_filters(string, string)the_content()35 </div>36 @endif3738 </header>39 <div class="c-single-content">40 @php(the_content())41 </div>424344{{-- related posts by tag (field ) --}}45@hasfield('articles_lies')4647@query([48 'post_type' => 'post',49 'tag__in' => get_field('articles_lies'),50 'posts_per_page' => 4,51 'post__not_in' => [get_the_ID()]52require(string)Illuminate\Filesystem\Filesystem::{closure:Illuminate\Filesystem\Filesystem::getRequire():120}()Illuminate\Filesystem\Filesystem->getRequire(string, array)Illuminate\View\Engines\PhpEngine->evaluatePath(string, array)Illuminate\View\Engines\CompilerEngine->get(string, array)Illuminate\View\View->getContents()Illuminate\View\View->renderContents()Illuminate\View\View->render()1@extends('layouts.app')23@section('content')4 @while(have_posts()) @php(the_post())5 @includeFirst(['partials.content-single-' . get_post_type(), 'partials.content-single'])6 @endwhile7@endsection8require(string)Illuminate\Filesystem\Filesystem::{closure:Illuminate\Filesystem\Filesystem::getRequire():120}()Illuminate\Filesystem\Filesystem->getRequire(string, array)Illuminate\View\Engines\PhpEngine->evaluatePath(string, array)Illuminate\View\Engines\CompilerEngine->get(string, array)Illuminate\View\View->getContents()Illuminate\View\View->renderContents()Illuminate\View\View->render()10</head>1112<body <?php body_class(); ?>>13 <?php wp_body_open(); ?>14 <?php do_action('get_header'); ?>15 <?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>16 <?php do_action('get_footer'); ?>17 <?php wp_footer(); ?>18</body>1920</html>include(string)require_once(string)