Notice: Undefined property: Drupal\webprofiler\Views\TraceableViewExecutable::$execute_time
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #2898075. --> Reported by: [drugan](https://www.drupal.org/user/1578644) >>> <pre>Notice: Undefined property: Drupal\webprofiler\Views\TraceableViewExecutable::$execute_time in Drupal\webprofiler\Views\TraceableViewExecutable-&gt;getExecuteTime() (line 34 of /home/d21rv/www/modules/contrib/devel/webprofiler/src/Views/TraceableViewExecutable.php). array(21)<br>&nbsp;&nbsp;&nbsp; '20: Drupal\webprofiler\Views\TraceableViewExecutable-&gt;getExecuteTime()' =&gt; array(1)<br>&nbsp;&nbsp;&nbsp; '19: Drupal\webprofiler\DataCollector\ViewsDataCollector-&gt;collect()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; '18: Symfony\Component\HttpKernel\Profiler\Profiler-&gt;collect()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; '17: Symfony\Component\HttpKernel\EventListener\ProfilerListener-&gt;onKernelResponse()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; '16: call_user_func()' =&gt; array(1)<br>&nbsp;&nbsp;&nbsp; '15: Symfony\Component\EventDispatcher\Debug\WrappedListener-&gt;__invoke()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; '14: Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher-&gt;dispatch()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; '13: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher-&gt;dispatch()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; '12: Symfony\Component\HttpKernel\HttpKernel-&gt;filterResponse()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; '11: Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; '10: Symfony\Component\HttpKernel\HttpKernel-&gt;handle()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; ' 9: Drupal\Core\StackMiddleware\Session-&gt;handle()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; ' 8: Drupal\Core\StackMiddleware\KernelPreHandle-&gt;handle()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; ' 7: Drupal\page_cache\StackMiddleware\PageCache-&gt;pass()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; ' 6: Drupal\page_cache\StackMiddleware\PageCache-&gt;handle()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; ' 5: Drupal\Core\StackMiddleware\ReverseProxyMiddleware-&gt;handle()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; ' 4: Drupal\webprofiler\StackMiddleware\WebprofilerMiddleware-&gt;handle()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; ' 3: Drupal\Core\StackMiddleware\NegotiationMiddleware-&gt;handle()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; ' 2: Stack\StackedHttpKernel-&gt;handle()' =&gt; array(2)<br>&nbsp;&nbsp;&nbsp; ' 1: Drupal\Core\DrupalKernel-&gt;handle()' =&gt; array(2) </pre><hr> <hr> <hr> <p>To reproduce:</p> <p>Go to <strong>admin/config/development/logging</strong> and enable<strong> All messages, with backtrace information</strong>.</p> <p>Create a view (page) of content (or something else what you like).</p> <p>Add the <strong>Content: ID</strong> contextual filter.</p> <p><a href="https://www.drupal.org/files/issues/configure_contextual_filter.png">Configure the filter</a>.</p> <p>Go to <strong>/your_view_page</strong> and try to apply the filter with existing content ID. Like this: <strong>/your_view_page/1</strong>. Everything works as expected - you'll see only the content with this ID.</p> <p>Try to add not existing ID like this: <strong>/your_view_page/123456789</strong> and observe the same notice as above.</p>
issue