Title: Small changes for error handling
Last modified: August 18, 2016

---

# Small changes for error handling

 *  [bossmop](https://wordpress.org/support/users/bossmop/)
 * (@bossmop)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/small-changes-for-error-handling/)
 * I’ve made some small changes to the GoogleMapper plugin in order to exclude some
   pesky warnings.
 * File:
    /admin/Maps/manage_map_markers.inc.php line 24 Was: `if (count($mmm_markers)
   > 0 ) {` Changed `if (is_array($mmm_markers) and count($mmm_markers) > 0 ) {`
 * File:
    /gmaps/single_map.php line 18 Added `if(is_array($markers)){`
 * File:
    /gmaps/single_map.php line 20 Added `}`
 * File:
    /gmaps/single_map.php line 89 Added `if(is_array($markers)){`
 * File:
    /gmaps/single_map.php line 107 Added `}`
 * File:
    /classes/GMap_Marker.inc.php line 44 Was `} elseif ( $results === 0) {`
   Changed to `} elseif ( $results === 0 or $results == NULL) {`

The topic ‘Small changes for error handling’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 0 replies
 * 1 participant
 * Last reply from: [bossmop](https://wordpress.org/support/users/bossmop/)
 * Last activity: [18 years, 11 months ago](https://wordpress.org/support/topic/small-changes-for-error-handling/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
