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.
Hi,
Issue happened after I've activated module together with libraries as dependent module. But function chosen_js_path() was called before library module was enabled. And it returned fatal error.
Below xdebug log:
9 drupal_check_module( 'chosen' ) ../system.admin.inc:1172
10 module_invoke( 'chosen', 'requirements', 'install' ) ../install.inc:1214
11 call_user_func_array ( 'chosen_requirements', array (2 => 'install') ) ../module.inc:833
12 chosen_requirements( 'install' ) ../module.inc:0
13 chosen_js_path( ) ../chosen.install:15
Regards,
Vadim
Comments
Comment #1
shadcn CreditAttribution: shadcn commentedHave you been able to fix this? Is this happening with the latest alpha as well?
Comment #2
rerooting CreditAttribution: rerooting commentedHad this problem with 1.x, upgraded to 2.x-dev and it was fine. Using libraries 2.2
Comment #3
pimok3000 CreditAttribution: pimok3000 commentedUsing 7.x-2.x-dev does not produce this error.
Comment #4
Hydra CreditAttribution: Hydra commentedchosen_js_path was removed in 2.x.
7.x-1.0 is not supported anymore, and there will be no backport or further 1.x releases. Feel free tp upgrade.