Reading a Stack Trace Print

  • plugins, themes, errors, guide, howto, solution, zillionkinghost, hosting
  • 0

Understanding the list of function calls.

WHAT IT IS

A record of how execution reached the point of failure. Each line is a function call, with the file and line number.

HOW TO READ IT

From the bottom upwards is the order things happened. The top is where it failed.

The most useful line is frequently the first one referring to a file you recognise: your theme, a plugin, or your own code.

Lines referring to core framework files are usually just the path, not the cause.

WHAT TO LOOK FOR

The first file belonging to a plugin, theme or your own code The function being called when it failed The values involved, where shown

WHAT IT TELLS YOU

Which component is responsible, which is usually the actionable information.

If the trace runs through a plugin directory, that plugin is involved.

WHAT TO DO WITH IT

Disable the component the trace implicates and confirm the error stops.

Check for an update to it.

WHEN OPENING A TICKET

Include the full trace, not a summary. The detail is what identifies the cause.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot