Error on results page
-
To avoid errors when there is no post type I changed line 77 to:
$post_type = array_key_exists(‘post_type’, $_GET) ? $_GET[‘post_type’] : false;
otherwise on /search I get:
<b>Notice</b>: Undefined index: post_type in <b>/Applications/MAMP/htdocs/OMH/web/app/plugins/osd-blog-search-widget/osd-blog-search-widget.php</b> on line <b>77</b>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Error on results page’ is closed to new replies.