Search function breaks on non-existent token
-
I’m receiving an “Invalid argument supplied for foreach()” error if I run a search on a non-existent search token (was trying to make sure I wasn’t repeating myself about a particular topic so ran a search to make sure). Couldn’t find this addressed in any previous support threads.
How are you handling a return from the mySql query of no rows, in such cases as this or calls to b2.php?p=nonexistent_post_id ?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Search function breaks on non-existent token’ is closed to new replies.