Toggle debugging instructions are different in plugin and this page
-
Hi,
on plugin page you place instructions for toggle debug enabling:
Enabling this feature is easy and takes less than a minute.
– In your document root, create the following file: wplv-config.php
– Paste the following into wplv-config.php
<?php
if (!defined(‘ABSPATH’)) { header(‘HTTP/1.0 403 Forbidden’); die; }
define(‘WPLV_DEBUG’, false);
– In wp-config.php, add the following line. Add it before the line where you define WP_DEBUG.
include_once $_SERVER[‘DOCUMENT_ROOT’] . ‘/wplv-config.php’;
– In wp-config.php, replace the line where you define WP_DEBUG with the following
define(‘WP_DEBUG’, defined(‘WPLV_DEBUG’) ? WPLV_DEBUG : false);
– That’s it. Refresh the page in the browser and you are ready to go.but this doesn′t working
in plugin you have this instructions:
Help
Configure Debug TogglingOnce configured, you can enable/disable WP_DEBUG with just one click. Now that’s the life.
Step 1In your site’s document root, create the following file: wplv-config.php
Step 2Add the following code to wplv-config.php:
<?php if (!defined(‘ABSPATH’)) { header(‘HTTP/1.0 403 Forbidden’); die; } define(‘WPLV_DEBUG’, false); Step 3Add the following snippet to the top of your wp-config.php to include wplv-config.php
include_once $_SERVER[‘DOCUMENT_ROOT’] . ‘/wplv-config.php’;Step 4Add the following snippet where you set the value of WP_DEBUG. If you are already setting this constant, replace it with this snippet.
define(‘WP_DEBUG’, defined(‘WPLV_DEBUG’) ? WPLV_DEBUG : false);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);Step 5Refresh the page in the browser (reload page)but this is unclear
How can I simply enable “logging toggle”
- The topic ‘Toggle debugging instructions are different in plugin and this page’ is closed to new replies.