Fatal error
-
When manually uploading another plugin, via /wp-admin/update.php?action=upload-plugin
I’m getting this error:
WordPress version 6.5.2
Current plugin: Media File Renamer: Rename for better SEO (AI-Powered) (version 5.9.1)
PHP version 8.2.18
Error Details =============
An error of type E_ERROR was caused in line 1894 of the file /home/www/public_html/wp-content/plugins/media-file-renamer/classes/core.php
Error message: Uncaught ValueError: mime_content_type(): Argument #1 ($filename) cannot be empty in /home/www/public_html/wp-content/plugins/media-file-renamer/classes/core.php:1894
Stack trace:
#0 /home/www/public_html/wp-content/plugins/media-file-renamer/classes/core.php(1894): mime_content_type()
#1 /home/www/public_html/wp-content/plugins/media-file-renamer/classes/core.php(337): Meow_MFRH_Core->get_mime_type()
#2 /home/www/public_html/wp-includes/class-wp-hook.php(324): Meow_MFRH_Core->on_upload_hook_prefilter()
#3 /home/www/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#4 /home/www/public_html/wp-admin/includes/file.php(833): apply_filters()
#5 /home/www/public_html/wp-admin/includes/file.php(1105): _wp_handle_upload()
#6 /home/www/public_html/wp-admin/includes/class-file-upload-upgrader.php(66): wp_handle_upload() #7 /home/www/public_html/wp-admin/update.php(161): File_Upload_Upgrader->__construct()
#8 {main} thrown
- The topic ‘Fatal error’ is closed to new replies.