Nach plugin Aktualisierung "kritischer Fehler" auf Wordpress Seite

  • Mitten während ich die plugins auf meiner Wordpress Website aktualisiert habe, hat sich die Seite geschlossen und zeigt seitdem beim Öffnen nur noch die Meldung "Es gab einen kritischen Fehler auf deiner Website.". Leider kann ich damit überhaupt nichts anfangen und weiß nicht wie ich wieder Zugriff auf meine Website und das Dashboard bekomme. Ich hoffe hier kann mir jemand weiterhelfen, ich bin für jede Hilfe offen und sehr dankbar. Viele Grüße David

  • Ich habe im Dateiverwaltungsmenü die Plugins durch Umbenennung des Ordners deaktiviert und kann leider immer noch nicht zugreifen. Das heißt doch, dass es an diesen nicht liegen dürfte oder? An was könnte denn die Fehlermeldung dann noch liegen?

  • Schau mal in folgende Ordner


    /logs/domain.de/error.log

    /httpdocs/.. Pfad zu WP ../wp-content/debug.log


    Oder so ähnlich, in diesen Datein wird dir der Fehler ausgegeben. Mit dennen können wir weiter machen :)


    Edit: Zu Langsam mit den dicken Fingern am Handy

  • Dieser Pfad /logs/domain.de/error.log gibt mir folgende Meldungen aus


    [Sat Feb 06 04:05:17 2021] [warn] RSA server certificate CommonName (CN) `alexander-von-reuss.de' does NOT match server name!?

    [Sat Feb 06 04:20:28 2021] [warn] [client 13.66.139.141] mod_fcgid: stderr: PHP Warning: require(/var/www/vhosts/hosting9645.af95a.netcup.net/httpdocs/wp-includes/class-wp-application-passwords.php): failed to open stream: No such file or directory in /var/www/vhosts/hosting9645.af95a.netcup.net/httpdocs/wp-settings.php on line 239

  • Der 2te Fehler bringt uns schon ein wenig weiter...

    Die Datei wp_settings.php will die Datei class-wp-application-passwords.php aufrufen, diese kann aber nicht gefunden werden.


    Hört sich sehr danach an, dass du das komplette Wordpress geupdatet hast (nicht nur Plugins) und dabei der Abbruch kam.


    Meine Empfehlung:
    - Backup von deinem kompletten Wordpress Ordner machen

    - Backup von deiner Wordpress Datenbank machen

    - Wordpress von https://de.wordpress.org/download/ herunter laden

    - Alle Dateien bis auf .htaccess und wp-config.php aus dem Download in deinen Wordpress Ordner hochladen und überschreiben Drücken.


    Was anderes macht der Updater von Wordpress auch nicht, und dein Wordpress sollte wieder funktionieren. Wenn nicht, hast du immernoch das Backup :D


    Bin gerade mal auf https://hosting9645.af95a.netcup.net/httpdocs/ gegangen und mir wird folgendes gesagt:


    Your server is running PHP version 5.3.3 but WordPress 5.5.3 requires at least 5.6.20.


    Stell erstmal auf PHP 7.x :D

  • Edit: Die Umstellung dauert bis zu 5 Minuten!

    Your server is running PHP version 5.3.3 but WordPress 5.5.3 requires at least 5.6.20.


    Wird weiterhin angezeigt, klar kann es sein das du auf der Standart Domain das ganze noch umstellen musst. PHP Einstellungen sind je Domain zu setzen. Aber wenn du nun mit der richtigen Domain (und richtigen PHP Einstellungen) auf die Seite zugreifst und die Fehler immernoch kommen. Ist der Update Prozess eben wegen falschen PHP abgebrochen. Hier wären die oben durchgestrichen Tipps dann durchzuführen.


    Wichtig ist eben die wp-config.php und die .htaccess nicht zu überschreiben. Hier sind deine htaccess Einstellungen (Wordpress erstellt selber welche und auch Plugins) und deine wp-config hinterlegt (Datenbank, Domain, usw...)


    Zitat
    1. Delete the old wp-includes and wp-admin directories on your web host (through your FTP or shell access).
    2. Using FTP or your shell access, upload the new wp-includes and wp-admin directories to your web host, in place of the previously deleted directories.
    3. Upload the individual files from the new wp-content folder to your existing wp-content folder, overwriting existing files. Do NOT delete your existing wp-content folder. Do NOT delete any files or folders in your existing wp-content directory (except for the one being overwritten by new files).
    4. Upload all new loose files from the root directory of the new version to your existing WordPress root directory.

    NOTE – you should replace all the old WordPress files with the new ones in the wp-includes and wp-admin directories and sub-directories, and in the root directory (such as index.php, wp-login.php and so on). Don’t worry – your wp-config.php will be safe.

    Be careful when you come to copying the wp-content directory. You should make sure that you only copy the files from inside this directory, rather than replacing your entire wp-content directory. This is where your themes and plugins live, so you will want to keep them. If you have customized the default or classic themes without renaming them, make sure not to overwrite those files, otherwise you will lose your changes. (Though you might want to compare them for new features or fixes..)

    Step 1.5: Remove .maintenance file #Step 1.5: Remove .maintenance file

    If you’re upgrading manually after a failed auto-upgrade, delete the file .maintenance from your WordPress directory using FTP. This will remove the “failed update” nag message.


    Step 2: Update your installation #Step 2: Update your installation
    Visit your main WordPress admin page at /wp-admin. You may be asked to login again. If a database upgrade is necessary at this point, WordPress will detect it and give you a link to a URL like http://example.com/wordpress/wp-admin/upgrade.php. Follow that link and follow the instructions. This will update your database to be compatible with the latest code. You should do this as soon as possible after step 1.

    Quelle: https://wordpress.org/support/…1-replace-wordpress-files