WordPress.org

Ready to get started?Download WordPress

Forums

Upgrade error: Unable to access /wp-includes/load.php in wp-settings.php (3 posts)

  1. SRD
    Member
    Posted 3 years ago #

    Hi.

    I've just uploaded version 3.0.4 of WordPress, and I tried to (re)load my Plugins page, and I received the error:

    Warning: main() [function.main]: Unable to access /path/wp-includes/load.php in /path/wp-settings.php on line 19

    Warning: main(/path/load.php) [function.main]: failed to open stream: Illegal seek in /path/wp-settings.php on line 19

    Warning: main() [function.main]: Unable to access /path/wp-includes/load.php in /path/wp-settings.php on line 19

    Warning: main(/paths/wp-includes/load.php) [function.main]: failed to open stream: Illegal seek in /path/wp-settings.php on line 19

    Fatal error: main() [function.require]: Failed opening required '/path/wp-includes/load.php' (include_path='.:/usr/local/lib/php/') in /path/wp-settings.php on line 19

    To summarise the error above, WordPress is not able to find /wp-includes/load.php. Yes this file exists.

    What is the problem?

  2. SRD
    Member
    Posted 3 years ago #

    I've just re-uploaded wp-includes/load.php, and the above errors have disappeared.

    A new error now appears:

    Fatal error: Cannot redeclare json_encode() (previously declared in /path/wp-includes/compat.php:128) in /path/wp-content/plugins/fbconnect/fbConfig_php4.php on line 143

  3. SRD
    Member
    Posted 3 years ago #

    The second error was solved by opening /wp-content/plugins/fbconnect/fbConfig_php4.php, and commenting out the following function.

    function json_encode($data){
    	require_once 'facebook-client4/classes/JSON.php';
    	$json = new Services_JSON();
    	return $json->encode($data);
    }

Topic Closed

This topic has been closed to new replies.

About this Topic