Can I use oik-bwtrace as a standalone plugin?
Q. Can I use the oik-bwtrace plugin without oik and oik-lib?A. Yes. You need version 2.0.0 or higher
How do I trace globals?
Q. How do I trace global variables such as $_SERVER
, $_REQUEST
, $_GET
, $_POST
, $COOKIE
?
A. These globals are traced at startup, when the trace level is satisfied.
How do I upgrade to oik-bwtrace v2.0.0?
Q. 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?
Q. 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?
Q. What are the trace APIs that I can use in my plugin or theme?A. bw_trace2(), bw_trace(), and bw_backtrace().
What constants do I need to define in wp-config.php?
Q. What constants do I need to define inwp-config.php
for debugging with oik-bwtrace
?
A. None are necessary, but some are recommended. When you’re debugging WordPress you should always set
WP_DEBUG
to true so that you see PHP Notices, Warnings, Errors and Fatal errors.What does Warning: failed to open stream: Permission denied mean?
Q. What doesWarning: fopen filename: failed to open stream: Permission denied
mean?
A. When the message is associated with your
oik-bwtrace
log 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.