Hi Guys,

I m facing following errors after installation the latest version of video module.
Notice: Undefined index: ai_wysiwyg_filter in video_filter_info() (line 34 of /home/test/public_html/sites/all/modules/contrib/video/video.filters.inc).
Notice: Undefined index: description in video_filter_info() (line 34 of /home/test/public_html/sites/all/modules/contrib/video/video.filters.inc).
Notice: Undefined index: title in _filter_list_cmp() (line 592 of /home/test/public_html/modules/filter/filter.module).
Notice: Undefined index: title in _filter_list_cmp() (line 592 of /home/test/public_html/modules/filter/filter.module).
Notice: Undefined index: title in _filter_list_cmp() (line 592 of /home/test/public_html/modules/filter/filter.module).

Also the 2 upgrades were require, but one has failed. If we try to upgrade the video module.

Its very urgent for me. Please suggest the solution.

Thanks in advance.

Regards,
Poorva

Comments

hypertext200’s picture

Status: Active » Postponed (maintainer needs more info)

Please provide more information to re-produce this issue.

makt’s picture

I just updated from 7.x-1.0-alpha2 to 7.x-2.0 and I am getting the following error: Notice: Undefined index: in theme_video_formatter_player() (line 72 of /sites/all/modules/video/video.theme.inc).

The video is in .flv format and I am using Flowplayer to display the video on the site. I have Flowplayer checked as the default player of .flv format so I'm not sure why it is not working.

Any help would be appreciated!

hypertext200’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

There is no any direct upgrade method from 7.x-1.x version yet, you have to manually do the upgrade. In 7.x-2.x version we have changed a lot to the database layer and upgrade would be bit tricky.

makt’s picture

Status: Closed (works as designed) » Active

I just tried completely uninstalling the module and doing a fresh install of the 7.x-2.x version and I am still getting similar error messages.

Notice: Undefined index: in theme_video_formatter_player() (line 72 of /video.theme.inc).

Notice: Trying to get property of non-object in VideoHelper->thumbnail_object() (line 87 of /VideoHelper.inc).

This error occured when I tried uploading my own thumbnail for the video. In the options of the file field I had chosen to have the module generate a thumbnail picture for me but that did not work.
Notice: Undefined index: thumbnail in file_ajax_upload() (line 256 of /file.module).

hypertext200’s picture

Status: Active » Postponed (maintainer needs more info)

@makt, Please send me some more information to reproduce this issue. ie. field_setting etc

poorva’s picture

Hi Heshan ,

This error reproduce when anyone manually upgrade the module from previous version to latest release.
You have provided 2 install updates, but during upgradation (Run update.php) one update is fail .

And then the error appears.

Moreover i have uninstalled the previous release module and installed it again then the error is still appearing.

daniela basualdo’s picture

+1

hypertext200’s picture

@daniela basualdo @poorva please provide me more information.

aacraig’s picture

Doesn't look like these errors have anything to do with changes to the database.

I've added some checks to avoid throwing these warnings. Hope this helps.

Notice: Undefined index: ai_wysiwyg_filter in video_filter_info() (line 34 of /home/test/public_html/sites/all/modules/contrib/video/video.filters.inc).
Notice: Undefined index: description in video_filter_info() (line 34 of /home/test/public_html/sites/all/modules/contrib/video/video.filters.inc).
disappear with:

    if (isset($filters['ai_wysiwyg_filter'])) {
      $filters['ai_wysiwyg_filter']['description'] .= ' ' . t('This must be enabled for the WYSIWYG integration to work correctly with this text filter.');
    }
hypertext200’s picture

Status: Postponed (maintainer needs more info) » Fixed

Fixed in dev version.
go to line 34 in video.filters.inc change change

$filters['ai_wysiwyg_filter']['description'] .= ' ' . t('This must be enabled for the WYSIWYG integration to work correctly with this text filter.');

to

    $filters['video_filter']['description'] .= ' ' . t('This must be enabled for the WYSIWYG integration to work correctly with this text filter.');

LTech’s picture

I upgraded to 7.x-2.1-alpha2
and I get the following error on my homepage at the bottom:
Fatal error: Class 'TranscoderAbstractionAbstractFactory' not found in /home/public_html/sites/all/modules/video/includes/Conversion.inc on line 35
I tried to revert back to the old version but I still get errors.
How should I get rid of it?

hypertext200’s picture

@LTech please clear the cache.

LTech’s picture

cleared cache removed error in #11, but then got error in #1 this was solved using #10.
thanks

pandersb’s picture

solution #10 worked for me

Status: Fixed » Closed (fixed)

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