Title: Cannot instantiate non-existent class: filereader
Last modified: August 18, 2016

---

# Cannot instantiate non-existent class: filereader

 *  [moondreamsnet](https://wordpress.org/support/users/moondreamsnet/)
 * (@moondreamsnet)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/cannot-instantiate-non-existent-class-filereader/)
 * just a note that might help someone else:
    i installed wp on a box with php 4.1(
   ugh) and had to do 2 things to get it to run the install without errors:
 * 1) create a blank file at /wordpress/wp-includes/languages/en_US.mo
    (this prevents
   it from warning you that the file doesn’t exist)
 * 2) in /wordpress/wp-includes/streams.php, i had to comment out the first if statement,
   resulting in the following code for lines 3-6:
    `//if ( defined('WPLANG') && ''!
   = constant('WPLANG') ) { require_once(ABSPATH . 'wp-includes/streams.php'); require_once(
   ABSPATH . 'wp-includes/gettext.php'); //} (this is to prevent wp from a fatal
   error: Cannot instantiate non-existent class: filereader…)
 * i know that there may be problems implicit in what i’ve done and that the errors
   are symptomatic of a larger bug, but this seems to work for all intents and puposes
   until someone greater than i can isolate the real issue.
 * peace,
    jim

Viewing 1 replies (of 1 total)

 *  Thread Starter [moondreamsnet](https://wordpress.org/support/users/moondreamsnet/)
 * (@moondreamsnet)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/cannot-instantiate-non-existent-class-filereader/#post-182725)
 * oops! in the second step, i meant you should edit /wordpress/wp-includes/wp-l10n.
   php
 * sorry!

Viewing 1 replies (of 1 total)

The topic ‘Cannot instantiate non-existent class: filereader’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [moondreamsnet](https://wordpress.org/support/users/moondreamsnet/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/cannot-instantiate-non-existent-class-filereader/#post-182725)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
