You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/php/common/troubleshooting/index.mdx
+73-2Lines changed: 73 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,9 @@ sidebar_order: 9000
4
4
description: "Troubleshooting steps for PHP"
5
5
---
6
6
7
-
## Log SDK internal events
7
+
## General
8
+
9
+
<Expandabletitle="How can I log internal SDK events?">
8
10
9
11
A good first step to debug SDK issues is using the `logger` option. For your convenience, the SDK ships with two implementations, `DebugFileLogger` and `DebugStdOutLogger`.
10
12
@@ -31,7 +33,76 @@ sentry/sentry: [warning] The profile does not contain enough samples, the profil
31
33
sentry/sentry: [info] Sent transaction [59390dc9dd934c0290d8cdc7a589da82] to o1.ingest.sentry.io [project:1]. Result: "success" (status: 200).
32
34
33
35
```
36
+
</Expandable>
34
37
35
-
## Missing Variables in Stack Traces
38
+
<Expandabletitle="Missing Variables in Stack Traces">
36
39
37
40
This is caused by the PHP configuration. PHP 7.4 introduced a new .ini setting, `zend.exception_ignore_args`, that will ignore stack trace arguments. Check your .ini file to ensure this setting is set to `Off` or `0`.
41
+
42
+
</Expandable>
43
+
44
+
<Expandabletitle="Why was my tag value truncated?">
45
+
46
+
Currently, every tag has a maximum character limit of 200 characters. Tags over the 200 character limit will become truncated, losing potentially important information. To retain this data, you can split data over several tags instead.
<Expandabletitle="Why am I not seeing any profiling data?">
64
+
65
+
If you don't see any profiling data in [sentry.io](https://sentry.io), you can try the following:
66
+
67
+
- Ensure that <PlatformLinkto="/tracing/">Tracing is enabled</PlatformLink>.
68
+
- Ensure that the automatic instrumentation is sending performance data to Sentry by going to the **Performance** page in [sentry.io](https://sentry.io).
69
+
- Ensure that the <PlatformLinkto="/tracing/instrumentation/custom-instrumentation">custom instrumentation</PlatformLink> is sending performance data to Sentry by going to the **Performance** page in [sentry.io](https://sentry.io).
70
+
- Ensure the <PlatformLinkto="/integrations/#environmentintegration">`Sentry\Integration\EnvironmentIntegration`</PlatformLink> is enabled.
71
+
- Enable the <PlatformLinkto="/configuration/options/#logger">logger</PlatformLink> to see what the SDK is doing under the hood.
0 commit comments