Home » Documentation » Product Search » Troubleshooting » Using Debug Mode

Using Debug Mode

To troubleshoot Elevated Product Search behavior, enable debug logging to capture search and indexing events. Navigate to Elevated › Product Search › Settings › Advanced Options, toggle Enable Debug Logging to ON, then save. Reproduce the issue on the frontend and review the captured events in the Logs tab.

Table of Contents

Step 1: Enable Debug Logging

Navigate to Elevated › Product Search › Settings.

Scroll to the Advanced Options section and expand it.

Look for the Debug Mode panel at the bottom of the section.

Debug Mode panel showing Enable Debug Logging toggle

Toggle Enable Debug Logging to ON.

Click Save Settings.

Step 2: Reproduce the Issue

Visit the frontend page where the search form is placed.

Perform the action that is causing problems. This may include:

  • Typing a search term that returns no results
  • Submitting a search that triggers an error
  • Observing a delay or failure in the live dropdown

Wait a few moments after reproducing the issue so the logging system captures the event.

Step 3: View the Logs Tab

Return to your WordPress admin.

A Logs tab now appears in the Elevated Product Search admin area. Click it.

Logs tab showing list of captured events

The log displays entries related to search queries, indexing operations, and plugin-level events. Each entry includes a timestamp and event details.

Step 4: Analyze Log Entries

Review the log entries that correspond to the time when you reproduced the issue.

Look for the following patterns:

  • Search query events: Show what term was submitted and which fields were checked
  • Indexer events: Reveal whether the indexer encountered errors while processing products
  • Response errors: Indicate if the AJAX request failed or returned unexpected data

If the logs reveal an Elevated Product Search specific configuration issue, such as a field being disabled in Search Scope or an empty index, adjust the setting and rebuild the index.

Debugging Beyond Elevated Product Search

The built-in debug logging captures events within Elevated Product Search, such as query handling and indexing operations. It does not log PHP fatal errors, theme conflicts, database failures, or server-level issues that may be preventing the search form from functioning.

If the Elevated Product Search logs do not reveal the cause, or if the site crashes and you cannot access the WordPress admin, the issue likely exists outside the plugin.

WP Debug Toolkit is a separate debugging suite that includes a standalone Error Log Viewer. It reads the WordPress debug.log directly through a browser-based interface that functions independently of the WordPress admin. This means you can inspect PHP errors, identify plugin conflicts, and even disable themes or plugins to recover from a crash without relying on wp-admin access.

For routine debugging, the Elevated Product Search logs are the fastest place to start. When the problem involves code-level errors or site crashes, a dedicated debugging tool provides the broader visibility needed to find the root cause.

Advanced Troubleshooting

The Logs tab does not appear after enabling debug logging

Refresh the page after saving the settings. The tab is generated when the setting is active. If it still does not appear, clear your browser cache and check again.

The logs are empty

Confirm you toggled Enable Debug Logging to ON and clicked Save Settings. Then reproduce the issue on the frontend. The logging system only captures events that occur while it is active.

Cannot interpret the log entries

Focus on entries marked as errors or warnings. Search query entries show the exact string the customer typed and the response status. If you see repeated indexer failures, click Force Index Rebuild in the Indexer section and monitor the logs for the next indexing attempt.

Related Documentation

On this page
Want More?

Get Every Elevated Extension You’ll Ever Need—One Payment, Yours for Life

Build faster, smarter, and without limits. A single purchase unlocks our entire library today and every new extension we release in the future. No renewals, no upsells, just lifetime power at your fingertips
+All other extensions for unlimited sites

The All Access Pass, available for a limited time

This exclusive package won't be around forever, as we will eventually move to a subscription model. This is your chance to get in early.
  • All Current Extensions
  • All Future Extensions
  • No Renewal Fees
  • 90-Day Money-Back Guarantee