• hello;
    i just did a backup to my website and these errors appears wheni tried to log in: to the “wp-admin”
    the errors:

    Warning: require(/htdocs/wp-includes/version.php): Failed to open stream: No such file or directory in /htdocs/wp-settings.php on line 33
    
    Fatal error: Uncaught Error: Failed opening required '/htdocs/wp-includes/version.php' (include_path='.:/usr/share/php') in /htdocs/wp-settings.php:33 Stack trace: #0 /htdocs/wp-config.php(86): require_once() #1 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #2 /htdocs/wp-admin/admin.php(34): require_once('/htdocs/wp-load...') #3 /htdocs/wp-admin/index.php(10): require_once('/htdocs/wp-admi...') #4 {main} thrown in /htdocs/wp-settings.php on line 33

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @sgplomber1
    Sorry for the trouble. You can download the latest version of WordPress from here. Then unzip and upload the “version.php” file from the “wp-includes” folder to your “wp-includes” folder in the production/live server.

    Give it a try, and let me know how that goes! ??

    Thread Starter Sg Plombier

    (@sgplomber1)

    hello;
    i did exactly what you mentionned but another errors appears:

    Fatal error: Uncaught Error: Call to undefined function wp_cache_get() in /htdocs/wp-includes/option.php:165 Stack trace: #0 /htdocs/wp-includes/l10n.php(63): get_option('WPLANG') #1 /htdocs/wp-includes/l10n.php(139): get_locale() #2 /htdocs/wp-includes/l10n.php(766): determine_locale() #3 /htdocs/wp-includes/load.php(1395): load_textdomain('default', '/htdocs/wp-cont...') #4 /htdocs/wp-includes/class-wpdb.php(1815): wp_load_translations_early() #5 /htdocs/wp-includes/class-wpdb.php(734): wpdb->db_connect() #6 /htdocs/wp-includes/load.php(562): wpdb->__construct('sgplo1953451', 'hmeqvf7gos', 'sgplo1953451', '91.216.107.183') #7 /htdocs/wp-settings.php(124): require_wp_db() #8 /htdocs/wp-config.php(86): require_once('/htdocs/wp-sett...') #9 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #10 /htdocs/wp-admin/admin.php(34): require_once('/htdocs/wp-load...') #11 /htdocs/wp-admin/index.php(10): require_once('/htdocs/wp-admi...') #12 {main} thrown in /htdocs/wp-includes/option.php on line 165
    
    Fatal error: Uncaught Error: Call to a member function set() on null in /htdocs/wp-includes/l10n.php:784 Stack trace: #0 /htdocs/wp-includes/l10n.php(872): load_textdomain('default', '/htdocs/wp-cont...', 'fr_FR') #1 /htdocs/wp-includes/class-wp-fatal-error-handler.php(47): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in /htdocs/wp-includes/l10n.php on line 784

    Hi @sgplomber1
    You may reinstall your WordPress or delete everything, excluding the “wp-config.php” and “wp-content” folders. Then upload the fresh files to the root directory. I hope that will solve the issue.

    Thread Starter Sg Plombier

    (@sgplomber1)

    hello @faisalahammad
    how can i do that, and isn’t it resquiy if i delete the “wp-config.php” and “wp-content” folders the content of my websietwill be deleted .

    Hi @sgplomber1
    Sorry for the delay. Could you please follow this screen recording and let me know how that goes?

    DON’T FORGET TO MAKE A FULL BACKUP OF YOUR WEBSITE FILES AND DATABASE.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatl error’ is closed to new replies.