Can I use oik-bwtrace as a standalone plugin?
A. Yes. You need version 2.0.0 or higher
How do I trace globals?
Q. How do I trace global variables such as
A. These globals are traced at startup, when the trace level is satisfied.
How do I upgrade to oik-bwtrace v2.0.0?
A. As with many plugin upgrades the safest way is to de-activate plugins, upgrade then re-activate, when necessary
How do I upgrade to oik-bwtrace v2.0.1?
A. Deactivate oik-bwtrace, update oik, update oik-bwtrace, reactivate oik-bwtrace when necessary.
What are the public trace APIs?
A. bw_trace2(), bw_trace(), and bw_backtrace().
What constants do I need to define in wp-config.php?
wp-config.phpfor debugging with
A. None are necessary, but some are recommended. When you’re debugging WordPress you should always set
WP_DEBUGto true so that you see PHP Notices, Warnings, Errors and Fatal errors.
What does Warning: failed to open stream: Permission denied mean?
Warning: fopen filename: failed to open stream: Permission deniedmean?
A. When the message is associated with your
oik-bwtracelog file then it means that the trace file is currently being used by another process so the trace routine was unable to log the message.
What is _oik-bwtrace-MU?
Q. What is the Must-Use plugin _oik-bwtrace-MU and what does it do?
A. _oik-bwtrace-MU is the Must Use version of the oik-bwtrace plugin. It’s sometimes put into play when tracing is enabled. It’s used to count the number of action hooks and filters from as early as possible.