APM - Stack trace Is not registering for captured exceptions

APM Server version: v 8.17.0

APM Agent language and version: apm-agent-php_1.15.0_amd64.deb

Browser version: Arc 139.0.7258.128 (Official Build) (arm64)

Original install method (e.g. download page, yum, deb, from source, etc.) and version: deb

Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):

When utilising createErrorFromThrowable, the stack trace is missing along with the culprit information.

Trace information is coming through on an application level (before calling native c extension).

Error information such as culprit etc is coming through, but note - Culprit: N/A in web ui.
The exception stack trace is also missing, but available in Kibana logs.

Trace data is available via Kibana logs

Why is it missing from the UI? (It shows for other non-error spans).

Steps to reproduce:

  1. Utilise createErrorFromThrowable in ElasticAPM class to catch a throwable.
  2. Check ElasticAPM UI.

Stack trace tab

Stack trace data in kibana