Creation of dynamic property deprecated in PHP 8.2
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3376919. --> Reported by: [xen](https://www.drupal.org/user/91385) Related to !6 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Setting the uuid on the event object in <code>ErrorPageExceptionLoggingSubscriber::onError</code> triggers logging a notice which in turn can cause another issue created in Sentry/GlitchTip if using the Raven module.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Just triggering an error should produce a debug entry in the dblog.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Just using a local variable won't suffice, as it seems that <code>ErrorPageFinalExceptionSubscriber::onException</code> looks for the property. </p> <p><code>ErrorPageExceptionLoggingSubscriber</code> could store a map of event objects to UUIDs, which <code>ErrorPageFinalExceptionSubscriber<code> could then consult.</code></code></p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>Decide on implementation and implement.</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>None.</p> <h3 id="summary-api-changes">API changes</h3> <p>None.</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>None.</p>
issue