Closed (duplicate)
Project:
Media Multiselect
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2015 at 11:28 UTC
Updated:
15 Dec 2016 at 00:01 UTC
Jump to comment: Most recent
After updating of Media module to the latest version (7.x-2.0-beta1), I've got fatal error while opening node for editing:
Fatal error: Call to undefined function media_attach_browser_js() in D:\dev\OpenServer\domains\bla-bla\sites\all\modules\contrib\media_multiselect\media_multiselect.module on line 98
That is because media_attach_browser_js() function was removed from media module, and it can be replaces with simple drupal_add_js().
Here is a patch for fixing that.
| Comment | File | Size | Author |
|---|---|---|---|
| 0001-Fix-attaching-of-browser-JS-on-empty-nodes.patch | 1.13 KB | tracker2k |
Comments
Comment #1
tracker2k commentedComment #2
miroslavbanov commentedHave the same problem. Fatal error with latest stable media module.
Maybe the patch should be adjusted to attach library to the render array:
Comment #3
joseph.olstadworks for us on an older version, but this issue appears to be a duplicate issue, there's another one open same situation
Comment #4
joseph.olstadstill testing
Comment #5
a.milkovskyThis patch is a part of https://www.drupal.org/node/2216273#comment-10314915
Let's close this issue as a duplicate.
Comment #6
joseph.olstadYes thanks