fails when saving a post with wordpress in debug mode
-
Hi,
On my development site, I set
define('WP_DEBUG', true);
. When saving a page/post with the “Set as ActiveDEMAND landing page” checkbox unchecked, PHP throws an error:Notice: Undefined index: is-activedemand-landing in /home/……/web/app/plugins/activedemand/landing-pages.php on line 146
The plugin should check that $_POST[‘is-‘.PREFIX.’-landing’] is set before trying to access it.
thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘fails when saving a post with wordpress in debug mode’ is closed to new replies.