Title: WordPress errors readdir closedir
Last modified: August 22, 2016

---

# WordPress errors readdir closedir

 *  Resolved [yeverett](https://wordpress.org/support/users/yeverett/)
 * (@yeverett)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wordpress-errors-readdir-closedir/)
 * Hi
 * I struggled to get this installed, I got a fatal error so I deleted the plugin
   and tried again. I now get this error below when I try to Edit a marker. I have
   Map Marker Pro on 30 day trial installed.
 * I have removed all my other plugins (except Akismet) and switch to a different
   theme (Genesis Sample) and still get the error.
 * Warning: readdir() expects parameter 1 to be resource, boolean given in /home/
   content/53/11167453/html/wp-content/plugins/leaflet-maps-marker-pro/leaflet-marker.
   php on line 205
 * Warning: closedir() expects parameter 1 to be resource, boolean given in /home/
   content/53/11167453/html/wp-content/plugins/leaflet-maps-marker-pro/leaflet-marker.
   php on line 212
 * Would appreciate some suggestions to fix this, else will have to look at other
   plugins that support loading of GPX tracks.
 * THanks
 * [https://wordpress.org/plugins/leaflet-maps-marker/](https://wordpress.org/plugins/leaflet-maps-marker/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wordpress-errors-readdir-closedir/#post-5709767)
 * Hi,
    did you change the marker icon directory? if no, I would need temp admin
   access so that I can have a closer look… best, Robert
 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wordpress-errors-readdir-closedir/#post-5709768)
 * another idea: check if you marker icon directory /wp-content/uploads/leaflet-
   maps-marker-icons/ is readable by all users (via ftp/chmod) if possible
 *  Thread Starter [yeverett](https://wordpress.org/support/users/yeverett/)
 * (@yeverett)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wordpress-errors-readdir-closedir/#post-5709776)
 * I don’t think I changed the marker icon directory, but I did have a scroll through
   the settings when I installed it so it is possible there was some “finger fault”
   that changed something.
 * I have just found the “Reset Settings” option, so I clicked Reset and hey presto,
   problem solved. All is good in my map world again.
 * Thanks
 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wordpress-errors-readdir-closedir/#post-5709780)
 * great to hear!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WordPress errors readdir closedir’ is closed to new replies.

 * ![](https://ps.w.org/leaflet-maps-marker/assets/icon.svg?rev=970936)
 * [Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)](https://wordpress.org/plugins/leaflet-maps-marker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-maps-marker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-maps-marker/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-maps-marker/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/wordpress-errors-readdir-closedir/#post-5709780)
 * Status: resolved