Plugins installieren
-
Hallo liebe WordPress Gemeinde,
ich habe seit geraumer Zeit das Problem, dass ich keine Plugins mehr installieren kann. Ich erhalte hierzu folgende Fehlermeldung: „Installation fehlgeschlagen: Es gab einen kritischen Fehler auf Ihrer Website. Bitte überprüfen Sie den Posteingang Ihrer Website-Administrator-E-Mail-Adresse für weitere Anweisungen.Erfahren Sie mehr über die Fehlerbehebung in WordPress.“
Daher kann ich Plugins nur mehr per FTP manuell installieren.
Meine bisherigen Lösungsansätze:
-alle Plugins deaktivieren
-Wordpress-Kern neu installieren
-Verknüfpfung mySQL Datenbank überprüfen
-Memory Limitschlugen bisher alle fehl.
Die Webseite hat das neueste WordPress und PHP 8.0 installiert.
Hat jemand noch eine Idee?
Vielen vielen Dank für eure Hilfe
LG alprebel
Die Seite, für die ich Hilfe brauche: [Anmelden, um den Link zu sehen]
-
Ich würde die PHP-Version vorerst noch auf 7.4 zurücksetzen, weil noch nicht alle Plugins auf PHP8 umgestellt wurden. Ansonsten wäre interessant, was unmittelbar nach der fehlgeschlagenen Installation in den Error-Logs auftaucht. Ein kritischen Fehler sollte ja dokumentiert werden – falls nicht, kannst du das Debugging aktivieren mit …
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );
(Quelle: Debugging in WordPress)
Vielen Dank für die Hilfe
Das ist die Debug Info
"Stack trace: #0 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php(1590): WPTemplatesOptions->install() #1 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php(1695): WPTemplatesOptions->activated() #2 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-includes/class-wp-hook.php(287): WPTemplatesOptions::loaded('') #3 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #4 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #5 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-settings.php(557): do_action('init') #6 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-config.php(86): require_once('/var/www/vhosts...') #7 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-load.php(37): require_once('/var/www/vhosts...') #8 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-admin/admin-ajax.php(22): require_once('/var/www/vhosts...') #9 {main} thrown in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1001 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "files" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1587 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "files" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1342 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "settings" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1345 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "security" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1345 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "disable" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1345 [24-Feb-2021 19:19:00 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1345 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "files" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1609 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "version" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1611 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "files" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 635 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "ftp" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 637 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "files" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1325 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "settings" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1327 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "plugins" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1327 [24-Feb-2021 19:19:00 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1327 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "data" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1623 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "files" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1587 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "files" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1342 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "settings" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1345 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "security" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1345 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "disable" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1345 [24-Feb-2021 19:19:00 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1345 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "files" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1609 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "version" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1611 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "files" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 635 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "ftp" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 637 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "files" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1325 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "settings" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1327 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "plugins" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1327 [24-Feb-2021 19:19:00 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1327 [24-Feb-2021 19:19:00 UTC] PHP Warning: Attempt to read property "data" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1623 [24-Feb-2021 19:19:05 UTC] PHP Warning: Attempt to read property "files" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 1587 [24-Feb-2021 19:19:05 UTC] PHP Warning: Attempt to read property "files" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 911 [24-Feb-2021 19:19:06 UTC] PHP Fatal error: Uncaught Error: Attempt to modify property "plugin" on null in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php:920 Stack trace: #0 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php(1596): WPTemplatesOptions->plugin() #1 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php(1695): WPTemplatesOptions->activated() #2 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-includes/class-wp-hook.php(287): WPTemplatesOptions::loaded('') #3 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #4 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #5 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-settings.php(557): do_action('init') #6 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-config.php(86): require_once('/var/www/vhosts...') #7 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-load.php(37): require_once('/var/www/vhosts...') #8 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-admin/admin-ajax.php(22): require_once('/var/www/vhosts...') #9 {main} thrown in /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php on line 920"
Was könnte dahinter stecken?
Hast du dir die Fehlermeldung mal angeschaut? 🙂
Was könnte bei
„Stack trace:
#0 /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/download-after-email/includes/.includes.php(1590): WPTemplatesOptions->install() …wohl Probleme bereitet haben? 😉
Danke für deine rasche Antwort und Hilfe.
Das ist ja das komische, ich aktiviere das Plugin (und auch alle anderen), aber der Fehler bleibt bestehen. Nach jedem deaktivierten Plugin erscheint ein anderes im Debug-Log.
Es wirkt so, als könnte WordPress nicht auf die Datenbank zugreifen. Allerdings habe ich auch die Schreib- und Leserechte der Dateien und Verzeichnisse auf die üblichen Werte gesetzt.Hast du mal das Plugin Health Check installiert, um mögliche Fehlerursachen auszuschließen?
Was steht im Error-Log, nachdem alle Plugins deaktiviert wurden und du eine erneute Installation probierst?Ein Website-Bericht (kannst du unter Werkzeuge > Website-Zustand > Bericht kopieren) wäre auch hilfreich.
So jetzt habe ich nochmals alle Plugins deaktiviert und auf einmal funktioniert es wieder.
Jetzt habe ich versucht ein Plugin nach dem anderen wieder zum Laufen zu bringen und bereits nach dem dritten erscheint wieder eine Fehlermeldung.
Könnte zB Elementor die Ursache der Inkompatibilität mit den anderen Plugins sein?
Ich kann mir nicht vorstellen, dass zB Yoast SEO oder SmartSlider so fehlerhaft sind.Vielen Dank schonmal für die schnelle und tolle Hilfe
Denkst du an den Website-Bericht? 🙂
### wp-core ### version: 5.6.2 site_language: de_DE_formal user_language: de_DE_formal timezone: +01:00 permalink: /%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: 1 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature wordpress_size: loading... uploads_path: /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/uploads uploads_size: loading... themes_path: /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/themes themes_size: loading... plugins_path: /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins plugins_size: loading... database_size: loading... total_size: loading... ### wp-dropins (1) ### maintenance.php: true ### wp-active-theme ### name: Hello Elementor (hello-elementor) version: 2.3.1 author: Elementor Team author_website: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash parent_theme: none theme_features: core-block-patterns, post-thumbnails, menus, automatic-feed-links, title-tag, html5, custom-logo, editor-style, align-wide, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets theme_path: /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/themes/hello-elementor auto_update: Deaktiviert ### wp-themes-inactive (1) ### Twenty Twenty-One: version: 1.1, author: WordPress-Team, Automatische Aktualisierungen deaktiviert ### wp-plugins-active (10) ### Download After Email: version: 2.0.7, author: MK-Scripts, Automatische Aktualisierungen deaktiviert Elementor: version: 3.1.1, author: Elementor.com, Automatische Aktualisierungen deaktiviert Elementor Pro: version: 3.1.1, author: Elementor.com, Automatische Aktualisierungen deaktiviert Germanized for WooCommerce: version: 3.3.6, author: vendidero, Automatische Aktualisierungen deaktiviert Google Analytics Germanized: version: 1.6.0, author: Pascal Bajorat, Automatische Aktualisierungen deaktiviert Jetpack by WordPress.com: version: 9.4, author: Automattic, Automatische Aktualisierungen deaktiviert reSmush.it Image Optimizer: version: 0.3.11, author: reSmush.it, Automatische Aktualisierungen deaktiviert Smart Slider 3 Pro: version: 3.4.1.16, author: Nextend, Automatische Aktualisierungen deaktiviert WooCommerce: version: 5.0.0, author: Automattic, Automatische Aktualisierungen deaktiviert Yoast SEO: version: 15.9, author: Team Yoast, Automatische Aktualisierungen deaktiviert ### wp-plugins-inactive (6) ### Disable Right Click For WP: version: 1.1.6, author: Aftab Muni, Automatische Aktualisierungen deaktiviert Enable Gzip Compression: version: 1.0.3, author: Moki-Moki Ios, Automatische Aktualisierungen deaktiviert Health Check & Troubleshooting: version: 1.4.5, author: The WordPress.org community, Automatische Aktualisierungen deaktiviert W3 Total Cache: version: 2.1.1, author: BoldGrid, Automatische Aktualisierungen deaktiviert WooCommerce Google Ads Conversion Tracking: version: 1.8.15, author: Wolf+Bär Agency, Automatische Aktualisierungen deaktiviert WooCommerce PDF Invoices & Packing Slips: version: 2.8.2, author: Ewout Fernhout, Automatische Aktualisierungen deaktiviert ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1687 imagemagick_version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org file_uploads: File uploads is turned off post_max_size: 128M upload_max_filesize: 128M max_effective_size: 128 MB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 122 MB imagick::RESOURCETYPE_DISK: 1073741824 imagick::RESOURCETYPE_FILE: 393216 imagick::RESOURCETYPE_MAP: 512 MB imagick::RESOURCETYPE_MEMORY: 256 MB imagick::RESOURCETYPE_THREAD: 16 gd_version: bundled (2.1.0 compatible) ghostscript_version: 9.26 ### wp-server ### server_architecture: Linux 4.9.0-12-amd64 x86_64 httpd_software: Apache php_version: 8.0.1 64bit php_sapi: cgi-fcgi max_input_variables: 4000 time_limit: -1 memory_limit: -1 max_input_time: 60 upload_max_filesize: 128M php_post_max_size: 128M curl_version: 7.52.1 OpenSSL/1.0.2u suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: false ### wp-database ### extension: mysqli server_version: 5.7.33 client_version: mysqlnd 8.0.1 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content WP_PLUGIN_DIR: /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins WP_MAX_MEMORY_LIMIT: 512M WP_DEBUG: true WP_DEBUG_DISPLAY: false WP_DEBUG_LOG: true SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable ### jetpack ### site_id: 176681666 ssl_cert: No time_diff: undefined version_option: 9.4:1612291552 old_version: 9.3.1:1610735156 public: Public master_user: #1 m-twice_qf478909 current_user: #1 m-twice_qf478909 tokens_set: Blog User blog_token: S^jBwiM759iSE9Ys(E7Bks!sVJFy8p)C user_token: 1z8uJ%qqQn9bUQkygo3gc4T!qD&&lWhv version: 9.4 jp_plugin_dir: /var/www/vhosts/hosting126977.a2ffa.netcup.net/httpdocs/photo-nature/wp-content/plugins/jetpack/ plan: free protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false} full_sync: {"started":"Thu, 28 May 2020 18:22:22 +0000","finished":"Thu, 28 May 2020 18:22:31 +0000","progress":{"options":{"finished":true},"functions":{"finished":true},"constants":{"finished":true},"users":{"total":"1","sent":1,"finished":true,"last_sent":"1"}},"config":{"options":true,"functions":true,"constants":true,"users":[1]}} sync_size: undefined sync_lag: 0 seconds full_sync_size: undefined full_sync_lag: 0 seconds idc_urls: {"home":"https:\/\/photo-nature.de","siteurl":"https:\/\/photo-nature.de","WP_HOME":"","WP_SITEURL":""} idc_error_option: false idc_optin: true cxn_tests: All Pass.
Jetpack entspricht nicht deutschem Datenschutzrecht und sollte deshalb hier nicht eingesetzt werden. Ansonsten finde ich aber auch in diesem Bericht keine Auffälligkeiten, die Hinweise auf mögliche Ursachen für das geschilderte Problem geben. Ich würde wie gesagt zu PHP 7.4 wechseln und schauen, wie sich die Website dann verhält. Mehr kann ich als Außenstehender im Moment nicht dazu sagen.
Ich würde wie gesagt zu PHP 7.4 wechseln
Dem kann ich nur zustimmen. PHP 8.0.x scheint bei einigen Plugins noch nicht so ganz passend zu sein. Das ist u.a. auch ein Grund, warum ich extrem ungern auf PHP-Versionen springe, die nach dem Major-Release noch eine 0 als Minor-Release haben, also 8.0.1
Vielen Dank für eure Hilfe.
Ich bleibe jetzt mal bei PHP 7.4 und beobachte das weiter.
Ich wünsch euch ein schönes Wochenende 🙂
- Das Thema „Plugins installieren“ ist für neue Antworten geschlossen.