Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Was wondering if anyone else has received this reply when trying to add an image/background slide within the Blocks area? Here is what I get when I click on the "Add a Slide" link:
Fatal error: Call to undefined function media_include_browser_js() in /var/www/beta.univera.com/sites/all/modules/rotating_banner/rotating_banner.admin.inc on line 34
Any changes or suggestions?
Comments
Comment #1
bkmatwa CreditAttribution: bkmatwa commentedComment #2
JacobSingh CreditAttribution: JacobSingh commentedHave you updated to the latest version?
Comment #3
rodolfo.flavio CreditAttribution: rodolfo.flavio commentedfunction rotating_banner_slide_form($form, &$form_state, $banner, $slide = NULL) {
global $base_url;
$slide_defaults = RotatingBannerSlide::getDefaultSettings();
include_once drupal_get_path('module', 'media') . '/media.browser.inc';
media_include_browser_js();
Comment #4
i46 CreditAttribution: i46 commentedI just had the same error message with the latest release 7.x-1.x-dev
Comment #5
Edmund Cluett CreditAttribution: Edmund Cluett commentedHi Jacob,
I'm also up to date on modules and getting the line 34 error message.
Great module - having tried it out over on DG.
Good luck with a fix - it'll be much appreciated!
Comment #6
JacobSingh CreditAttribution: JacobSingh commentedThere will be several media* related releases next week. I recommend you switch to the dev versions of styles, media, RB, etc until then.
Comment #7
Edmund Cluett CreditAttribution: Edmund Cluett commentedThanks Jacob - I'll give it a try.
(And good luck ... it's going to be a great module!)
Comment #8
MrPaulDriver CreditAttribution: MrPaulDriver commentedThis error is persisting with the latest media and styles updates. This is a shame as the updates appear to have fixed major problems (for me) with media gallery, only for rotating banner to now fail.
I'm not an expert so cannot contribute much more, only to say that I really appreciate the simplicity of rotating banner, especially for end users, and I want to see it get better and make a full recovery.
Are there any temporary workarounds that might fixed this issue for me?
-------------------
EDIT
Seems this problem is just with 7.x-1.x-dev
The earlier beta1 version appears to be okay
Comment #9
ksenzeeThis should be fixed in the latest development snapshot. If it isn't, please feel free to reopen the issue.