Fatal error when replacing media
-
Hello,
After upgrading to 4.1.0, we are now getting the following error message when trying to replace a media item:
Fatal error: Uncaught Error: Call to a member function get_source_type_class() on null
in /var/www/wp-content/plugins/enable-media-replace/classes/external/wp-offload.php on line 327Call stack:
EnableMediaReplace\Externals\WPOffload::getMediaClass()
wp-content/plugins/enable-media-replace/classes/external/wp-offload.php:219EnableMediaReplace\Externals\WPOffload::getSourceIDByURL()
wp-content/plugins/enable-media-replace/classes/external/wp-offload.php:151EnableMediaReplace\Externals\WPOffload::checkIfOffloaded()
wp-includes/class-wp-hook.php:308WP_Hook::apply_filters()
wp-includes/plugin.php:205apply_filters()
wp-content/plugins/enable-media-replace/build/shortpixel/filesystem/src/Model/File/FileModel.php:518EnableMediaReplace\F\M\F\FileModel::UrlToPath()
wp-content/plugins/enable-media-replace/build/shortpixel/filesystem/src/Model/File/FileModel.php:53EnableMediaReplace\F\M\F\FileModel::__construct()
wp-content/plugins/enable-media-replace/build/shortpixel/filesystem/src/Controller/FileSystemController.php:29EnableMediaReplace\F\C\FileSystemController::getFile()
wp-content/plugins/enable-media-replace/classes/Controller/ReplaceController.php:273EnableMediaReplace\Controller\ReplaceController::setupSource()
wp-content/plugins/enable-media-replace/classes/Controller/ReplaceController.php:47EnableMediaReplace\Controller\ReplaceController::__construct()
wp-content/plugins/enable-media-replace/classes/ViewController/ReplaceViewController.php:41EnableMediaReplace\ViewController\ReplaceViewController::load()
wp-content/plugins/enable-media-replace/classes/emr-plugin.php:228EnableMediaReplace\EnableMediaReplacePlugin::route()
wp-includes/class-wp-hook.php:308WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:332WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-admin/admin.php:259require_once()
wp-admin/upload.php:10
Please help!
~James
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fatal error when replacing media’ is closed to new replies.