Title: Invalid file path with URL causing PHP errors&#8230;
Last modified: January 20, 2021

---

# Invalid file path with URL causing PHP errors…

 *  [horizonit](https://wordpress.org/support/users/horizonit/)
 * (@horizonit)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/invalid-file-path-with-url-causing-php-errors/)
 * Hi,
    I’ve been tracking a problem then has been generating PHP errors and slowing
   the admin section og the site down. I’ve tracked it down to the Nested Pages 
   plugin. As soon as it is activated these errors start appearing in the PHP error
   log: [20-Jan-2021 08:46:06 UTC] PHP Warning: file_exists(): open_basedir restriction
   in effect. File(D:\Plesk\Vhosts\domain.co.uk\httpdocs/wp-content/plugins/https://
   www.domain.co.uk/wp-admin/admin.php) is not within the allowed path(s): (D:/Plesk/
   Vhosts/domain.co.uk\;C:\Windows\Temp\) in D:\Plesk\Vhosts\domain.co.uk\httpdocs\
   wp-admin\menu-header.php on line 164 [20-Jan-2021 08:46:06 UTC] PHP Warning: 
   file_exists(): open_basedir restriction in effect. File(D:\Plesk\Vhosts\domain.
   co.uk\httpdocs/wp-content/plugins/https://www.domain.co.uk/wp-admin/admin.php)
   is not within the allowed path(s): (D:/Plesk/Vhosts/domain.co.uk\;C:\Windows\
   Temp\) in D:\Plesk\Vhosts\domain.co.uk\httpdocs\wp-admin\menu-header.php on line
   256 [20-Jan-2021 08:46:06 UTC] PHP Warning: file_exists(): open_basedir restriction
   in effect. File(D:\Plesk\Vhosts\domain.co.uk\httpdocs/wp-content/plugins/https://
   www.domain.co.uk/wp-admin/post-new.php) is not within the allowed path(s): (D:/
   Plesk/Vhosts/domain.co.uk\;C:\Windows\Temp\) in D:\Plesk\Vhosts\domain.co.uk\
   httpdocs\wp-admin\menu-header.php on line 256
 * The actual file path contains a URL, which can never be correct.
    As soon as 
   the plugin is deactivated the errors stop.
 * The site is hosted on a Windows IIS 2016 server.
    PHP 7.4.14
 * I hope you can help.
 * Cheers
 * Paul

The topic ‘Invalid file path with URL causing PHP errors…’ is closed to new replies.

 * ![](https://ps.w.org/wp-nested-pages/assets/icon-128x128.png?rev=1690043)
 * [Nested Pages](https://wordpress.org/plugins/wp-nested-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-nested-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-nested-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-nested-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-nested-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-nested-pages/reviews/)

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [path](https://wordpress.org/support/topic-tag/path/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * 0 replies
 * 1 participant
 * Last reply from: [horizonit](https://wordpress.org/support/users/horizonit/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/invalid-file-path-with-url-causing-php-errors/)
 * Status: not resolved