Download & Extend

Fatal error "Can't inherit abstract function"

Project:Video
Version:7.x-2.x-dev
Component:General
Category:bug report
Priority:major
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Just installed the new dev version, because I'm effected by #1719062, then when navigating to /admin/config I get only this error:

Fatal error: Can't inherit abstract function TranscoderFactoryInterface::adminSettings() (previously declared abstract in TranscoderAbstractionFactory) in /srv/www/htdocs/sitename/sites/all/modules/video/transcoders/TranscoderAbstractionFactoryFfmpeg.inc on line 10

Which breaks the site.

Comments

#1

I am sorry about this. I will fix this next week, as I am on a small holiday.

If you want, you should be able to fix this by removing lines 159 - 167 from includes/TranscoderFactory.inc.

These lines should be removed:

159   /**
160    * Admin settings form for the transcoder
161    */
162   abstract public function adminSettings();
163
164   /**
165    * Validate admin settings. This will call when Drupal admin settings validate.
166    */
167   abstract public function adminSettingsValidate($form, &$form_state);

#2

Status:active» needs review

Fix in #1 as patch.

AttachmentSizeStatusTest resultOperations
video-transcoder-factory-1782666-2.patch613 bytesIdleFAILED: [[SimpleTest]]: [MySQL] Unable to apply patch video-transcoder-factory-1782666-2.patch. Unable to apply patch. See the log in the details link for more information.View details

#3

Status:needs review» fixed

Fixed

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here