Plugin throwing warnings
-
Going over logs for a site, and seeing several of these:
PHP Warning: Undefined array key "search_integration" in /home/****/public_html/wp-content/plugins/facebook-conversion-pixel/includes/functions.php on line 127
It is Version 3.0.5. I changed the line to be the following to properly check for the existence of
search_integration
in$options
so it won’t fill logs with warnings for it.if (is_search() && array_key_exists('search_integration', $options) && $options['search_integration'] == 'on') {
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Plugin throwing warnings’ is closed to new replies.