Notice TraceLog

外掛說明

Notice TraceLog is a lightweight developer tool that displays PHP backtraces when Notices occur, helping you identify and fix issues caused by early execution or translation loading problems. Useful for debugging during plugin and theme development.

螢幕擷圖

  • Default WordPress notice without clear source information.
  • Error displayed by the Notice TraceLog plugin (compact mode).
  • Detailed error display with full trace log to the source of the issue.
  • Example of a detailed notice with backtrace written to the debug log.

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/notice-trace-log directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Make sure WP_DEBUG and WP_DEBUG_DISPLAY are enabled in your wp-config.php.

Example configuration in wp-config.php:

define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', true);

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Notice TraceLog〉的開發相關工作。

參與者

將〈Notice TraceLog〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

Release basic functionality

1.0.1

  • Added dependency checks for WP_DEBUG_DISPLAY and WP_DEBUG_LOG
  • Improved error display in the browser
  • Backtrace logging added to error log if WP_DEBUG_LOG is enabled (writes to the default log file)
  • Enhanced admin area messages