# APM - Stack trace Is not registering for captured exceptions

**URL:** <https://discuss.elastic.co/t/apm-stack-trace-is-not-registering-for-captured-exceptions/381593>\
**Category:** APM\
**Tags:** php\
**Created:** [September 4, 2025, 1:54am UTC](https://discuss.elastic.co/t/apm-stack-trace-is-not-registering-for-captured-exceptions/381593 "2025-09-04T01:54:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oliverkuchies](https://avatars.discourse-cdn.com/v4/letter/o/e68b1a/32.png) [@oliverkuchies](https://discuss.elastic.co/u/oliverkuchies)\
**Post date:** [September 4, 2025, 1:54am UTC](https://discuss.elastic.co/t/apm-stack-trace-is-not-registering-for-captured-exceptions/381593/1 "2025-09-04T01:54:32Z")

</div>

**APM Server version** : **v 8.17.0**

**APM Agent language and version** : [apm-agent-php\_1.15.0\_amd64.deb](https://github.com/elastic/apm-agent-php/releases/download/v1.15.0/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.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/7/07aff7dda6dcdcba48b1f3e1a4bc5c9537ec7bfe.png)

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.

---

<div class="post-metadata">

**Author:** ![oliverkuchies](https://avatars.discourse-cdn.com/v4/letter/o/e68b1a/32.png) [@oliverkuchies](https://discuss.elastic.co/u/oliverkuchies)\
**Post date:** [September 4, 2025, 1:57am UTC](https://discuss.elastic.co/t/apm-stack-trace-is-not-registering-for-captured-exceptions/381593/2 "2025-09-04T01:57:37Z")

</div>

Stack trace tab

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/c/6c29902f57d2eee6250b4ad8007e6fb262df5b17.png)

---

<div class="post-metadata">

**Author:** ![oliverkuchies](https://avatars.discourse-cdn.com/v4/letter/o/e68b1a/32.png) [@oliverkuchies](https://discuss.elastic.co/u/oliverkuchies)\
**Post date:** [September 4, 2025, 1:59am UTC](https://discuss.elastic.co/t/apm-stack-trace-is-not-registering-for-captured-exceptions/381593/3 "2025-09-04T01:59:49Z")

</div>

Stack trace data in kibana

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/0/00e28a866fd2695bd0487b3f4686938426b93dc8.png)
