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

bkmatwa’s picture

JacobSingh’s picture

Have you updated to the latest version?

rodolfo.flavio’s picture

function 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();

i46’s picture

I just had the same error message with the latest release 7.x-1.x-dev

Edmund Cluett’s picture

Hi 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!

JacobSingh’s picture

There will be several media* related releases next week. I recommend you switch to the dev versions of styles, media, RB, etc until then.

Edmund Cluett’s picture

Thanks Jacob - I'll give it a try.
(And good luck ... it's going to be a great module!)

MrPaulDriver’s picture

This 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

ksenzee’s picture

Status: Active » Fixed

This should be fixed in the latest development snapshot. If it isn't, please feel free to reopen the issue.

Status: Fixed » Closed (fixed)

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