WP backend blocked after plugin update if content directory is not /wp-content/
-
Hello,
After plugin update (2.4.0 -> 3.0.0) an error occurs and blocks the access to the WordPress backend.
We use iTheme Security plugin and our content directory is changed from /wp-content/ to /files/.Some error details:
Aktuelles Plugin: WebP Converter for Media (Version 3.0.0)
PHP-Version 7.4.16Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 97 der Datei
/var/www/html/files/plugins/webp-converter-for-media/src/Conversion/Directory/DirectoriesIntegration.php
verursacht. Fehlermeldung: Uncaught TypeError: Return value of
WebpConverter\Conversion\Directory\DirectoriesIntegration::get_dir_as_name()
must be of the type string, null returned in
/var/www/html/files/plugins/webp-converter-for-media/src/Conversion/Directory/DirectoriesIntegration.php:97
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(292):
WebpConverter\Conversion\Directory\DirectoriesIntegration->get_dir_as_name()
#1 /var/www/html/wp-includes/plugin.php(212): WP_Hook->apply_filters()
#2 /var/www/html/files/plugins/webp-converter-for-media/src/Conversion/Directory/DirectoriesIntegration.php(112):
apply_filters()
#3 /var/www/html/wp-includes/class-wp-hook.php(292):
WebpConverter\Conversion\Directory\DirectoriesIntegration->get_dir_as_path()
#4 /var/www/html/wp-includes/plugin.php(212): WP_Hook->apply_filters()
#5 /var/www/html/files/plugins/webp-converter-for-media/src/Loader/HtaccessLoader.php(62):
apply_filters()
#6 /var/www/html/files/plugins/webp-converter-for-media/src/Loader/HtaccessLoader.php(35):
WebpConverter\LWe reverted back to the older version of the plugin (2.4.0).
Can you provide some help?Thanks in advance.
- The topic ‘WP backend blocked after plugin update if content directory is not /wp-content/’ is closed to new replies.