Fatal error: Call to undefined function media_include_browser_js() in

I get this error after upgrading the media module to version 2 Fatal error: Call to undefined function media_include_browser_js() in /home/public_html/sites/all/modules/drupalexp/modules/dexp_layerslider/dexp_layerslider.module on line 229
any news related to this error ?
Hello, Dexp LayerSlider module does not support Media 2. We are working to update it, please stay turn. Thank you.

have you realease a new version or a fix for Dexp LayerSlider module to work with Media 2?

Hi RobertoGuzman,

We are still working on it. We will let you know whet we finish.

Thanks!

this module had the same issue, but the have release a new version where they fix the error

http://codecanyon.net/item/mega-slider/4313171

Error is normal because this is the only way to know if things are consistent or not. - Nova Publishers

Good to hear....

Any timeframe on this....it seems my issue that I posted is related.

http://support.drupalexp.com/forum/notice-undefined-property-stdclassim…

 

thx,

 

M

 

 

what do you mean ?

This fix has work for me, using the latest media 7.x-2.x-dev

comment line
media_include_browser_js();

then add these 2 lines

drupal_add_library('media', 'media_browser');
drupal_add_library('media', 'media_browser_settings');

 

Hello,

I think most of us have the media 7.x-2.x module installed... Do you think you will provide an updated version of DrupalExp?

To complete de answer in #7, you should also :

Change:
include_once drupal_get_path('module', 'media') . '/wysiwyg_plugins/media.inc';
to
include_once drupal_get_path('module', 'media') . '/modules/media_wysiwyg/wysiwyg_plugins/media.inc';

in the same file (dexp_layerslider.module)

Just wanted to say that the combination of the following answers above fixed the issue for me:

Change:
include_once drupal_get_path('module', 'media') . '/wysiwyg_plugins/media.inc';
to
include_once drupal_get_path('module', 'media') . '/modules/media_wysiwyg/wysiwyg_plugins/media.inc';

in the same file (dexp_layerslider.module)

comment line
media_include_browser_js();

then add these 2 lines

drupal_add_library('media', 'media_browser');
drupal_add_library('media', 'media_browser_settings');