This error comes everytime on cron run after submitting content with video, if token module is enabled. After uninstalling token it works like a charm.

Recoverable fatal error: Argument 2 passed to token_replace() must be an array, string given, called in D:\wwwroot\momentti\drupal7\sites\all\modules\video_upload\video_upload.module on line 174 and defined in token_replace() (line 77 of D:\wwwroot\momentti\drupal7\includes\token.inc).

CommentFileSizeAuthor
#2 video_upload.1054636.patch2.4 KBjhedstrom

Comments

jhedstrom’s picture

Assigned: jviitamaki » jhedstrom

Thanks GloGi, I should have a fix for this in soon.

jhedstrom’s picture

Status: Active » Needs review
StatusFileSize
new2.4 KB

Here's a patch. This will be committed to dev shortly.

jhedstrom’s picture

Status: Needs review » Fixed

This has been committed.

Status: Fixed » Closed (fixed)

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