SearchWP

This Documentation is for SearchWP Version 3

Debugging

SearchWP has a debugging environment built in that will help to call out any issues that may prevent desired functionality. If you’ve been asked to set up a debugging environment for SearchWP please take the following steps:

Enable debugging

Debugging can be enabled by ticking the checkbox on the Advanced tab of the SearchWP settings screen:

Screenshot highlighting debugging toggle in SearchWP

You can also enable debugging in SearchWP by adding the following to the active theme’s functions.php:

<?php
/**
* Enable debugging in SearchWP
* Messages are logged to searchwp-debug.txt in your uploads folder
*/
add_filter( 'searchwp_debug', '__return_true' );
view raw gistfile1.php hosted with ❤ by GitHub

Once debugging has been enabled, you should see a searchwp-debug.txt in your uploads folder. If you do not see this file the debug log cannot be written, please verify write permissions for the WordPress uploads folder.

[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]