Title: PHP Warning: file_exists()
Last modified: August 30, 2016

---

# PHP Warning: file_exists()

 *  [chakosnetroot](https://wordpress.org/support/users/chakosnetroot/)
 * (@chakosnetroot)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php-warning-file_exists/)
 * Good afternnon
 * I saw at my plesk logs a lot of time this 2 log
 * PHP Warning: file_exists(): File name is longer than the maximum allowed path
   length on this platform (260): C:\Inetpub\vhosts\xxxxxx.gr\httpdocs\wordpress/
   wp-content/themes/wp-prosperity/single-post-%ce%b7-%ce%ba%ce%b1%cf%84%ce%b5%cf%
   81%ce%af%ce%bd%ce%b1-%ce%ba%ce%bf%cf%85%cf%81%ce%b5%ce%bd%cf%84%ce%b6%ce%ae-%
   cf%83%ce%b5-%ce%b4%cf%8d%ce%bf-%ce%b5%ce%ba%cf%80%ce%bb%ce%b7%ce%ba%cf%84%ce%
   b9%ce%ba.php in C:\Inetpub\vhosts\xxxxxxxx.gr\httpdocs\wordpress\wp-includes\
   template.php on line 511
    and PHP Warning: file_exists(): File name is longer
   than the maximum allowed path length on this platform (260): C:\Inetpub\vhosts\
   xxxxxxxxx.gr\httpdocs\wordpress/wp-content/themes/wp-prosperity/single-post-%
   ce%b7-%ce%ba%ce%b1%cf%84%ce%b5%cf%81%ce%af%ce%bd%ce%b1-%ce%ba%ce%bf%cf%85%cf%
   81%ce%b5%ce%bd%cf%84%ce%b6%ce%ae-%cf%83%ce%b5-%ce%b4%cf%8d%ce%bf-%ce%b5%ce%ba%
   cf%80%ce%bb%ce%b7%ce%ba%cf%84%ce%b9%ce%ba.php in C:\Inetpub\vhosts\xxxxxxxxx.
   gr\httpdocs\wordpress\wp-includes\template.php on line 514
 * Did someone knows how can fix this errors?

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

 *  [codemovement.pk](https://wordpress.org/support/users/codemovementpk/)
 * (@codemovementpk)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php-warning-file_exists/#post-6853725)
 * This can help you
 * [https://wordpress.org/support/topic/file_exists-functionfile-exists-open_basedir-restriction-in-effect?replies=9](https://wordpress.org/support/topic/file_exists-functionfile-exists-open_basedir-restriction-in-effect?replies=9)
 *  [begnasonline](https://wordpress.org/support/users/begnasonline/)
 * (@begnasonline)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-warning-file_exists/#post-6854018)
 * Dear sir i am fetching php error since last 1 month please tell somthing about
   fix the issue.
 * PHP Warning: file_exists(): File name is longer than the maximum allowed path

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

The topic ‘PHP Warning: file_exists()’ is closed to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [begnasonline](https://wordpress.org/support/users/begnasonline/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/php-warning-file_exists/#post-6854018)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
