Result of Custom WP_Query appears on 404 Page (but result are found!)

I found out its because I used a Input with name=”name” which caused this issue. I believe the name ‘name’ is a keyword in wordpress/php. I replaced the ‘name’ to ‘personname’ then it works as charm.

...
 <input name="personname" type="text" value="" />
...
$_POST['gsdname']   // multiple time in my code
...

Best regards
Floh

Leave a Comment