Title: Getting error &#8211; open_basedir
Last modified: September 25, 2019

---

# Getting error – open_basedir

 *  Resolved [MagineM](https://wordpress.org/support/users/maginem/)
 * (@maginem)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/getting-error-open_basedir/)
 * Hi,
 * Moved a site from one provider to another, and now I get this error in the backend
   when I’m on your Plugin page.
 * Warning: is_dir(): open_basedir restriction in effect. File(URL – this appears
   to be the old server URL string) is not within the allowed path(s): (/usr/www/
   wwws/users/usr/wwws/users/usr/www/users/usr/home/usr/local/rmagic:/usr/share/
   php:/usr/local/lib/php:/tmp:/usr/bin:/usr/local/bin:/usr/local/share/www:/usr/
   www/share/www:/usr/share/misc:/dev/urandom:/var/www/php_profiler/xhgui) in /usr/
   www/users/wp-content/plugins/gotmls/index.php on line 313

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

 *  Plugin Author [Eli](https://wordpress.org/support/users/scheeeli/)
 * (@scheeeli)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/getting-error-open_basedir/#post-11977277)
 * It’s probably checking for the existence of a directory that may have been scanned
   and cleaned before. There is no harm in checking to see if a directory exists.
   If you want my plugin to be able to scan your site then you need to talk to your
   hosting provider about allowing the is_dir() function.
 *  Thread Starter [MagineM](https://wordpress.org/support/users/maginem/)
 * (@maginem)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/getting-error-open_basedir/#post-11979889)
 * Hi,
 * Yes, it was looking for the old log files. Had to delete the reference in the
   DB to remove the error. Might be a feature to ad to the plugin that allows you
   to delete old logs/scans.
 *  Plugin Author [Eli](https://wordpress.org/support/users/scheeeli/)
 * (@scheeeli)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/getting-error-open_basedir/#post-11979936)
 * That is already a feature of the plugin. You can delete the scan log and the 
   quarantine records. But there is still no reason to disable the is_dir function,
   it’s not like there is any risk in checking for the existence of a directory.
 * Anywany, please try deleting all the scan logs and all the quarantine records
   and then let me know if that warning still comes up. Also, please make sure that
   you are using the latest version of my plugin.
 *  Thread Starter [MagineM](https://wordpress.org/support/users/maginem/)
 * (@maginem)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/getting-error-open_basedir/#post-11980776)
 * Hi,
 * Ok cool. Is this feature only available in the paid for version?
 *  Plugin Author [Eli](https://wordpress.org/support/users/scheeeli/)
 * (@scheeeli)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/getting-error-open_basedir/#post-11980832)
 * No, it’s in the free version too.
 *  Thread Starter [MagineM](https://wordpress.org/support/users/maginem/)
 * (@maginem)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/getting-error-open_basedir/#post-11980864)
 * Hi, ok. I don’t seem to see any option to delete the logs etc. from the settings?
 *  Plugin Author [Eli](https://wordpress.org/support/users/scheeeli/)
 * (@scheeeli)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/getting-error-open_basedir/#post-11980889)
 * On the Scan Settings page in your wp-admin There is a box titled Scan Logs with
   a list of recent scans. Just hover over that list and a link will appear that
   gives you the option to clear below that point in the log.
 *  Thread Starter [MagineM](https://wordpress.org/support/users/maginem/)
 * (@maginem)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/getting-error-open_basedir/#post-11980953)
 * Ah, ok. Thanks.

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

The topic ‘Getting error – open_basedir’ is closed to new replies.

 * ![](https://ps.w.org/gotmls/assets/icon-256x256.png?rev=1001824)
 * [Anti-Malware Security and Brute-Force Firewall](https://wordpress.org/plugins/gotmls/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gotmls/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gotmls/)
 * [Active Topics](https://wordpress.org/support/plugin/gotmls/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gotmls/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gotmls/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [MagineM](https://wordpress.org/support/users/maginem/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/getting-error-open_basedir/#post-11980953)
 * Status: resolved