• Hey,

    In the file /modules/valuation/core.php you include a Script.
    But you don’t define jQuery as dependency.
    See https://developer.ww.wp.xz.cn/reference/functions/wp_register_script/

    wp_register_script('FF-valuation-chosen-' . $theme, plugins_url('/assets/js/' . $theme . '/chosen.jquery.min.js', __FILE__), '', '1.0.1', true);

    Should be:
    wp_register_script('FF-valuation-chosen-' . $theme, plugins_url('/assets/js/' . $theme . '/chosen.jquery.min.js', __FILE__), array ('jquery'), '1.0.1', true);

    I have to fix it on every update.

The topic ‘jQuery – missing dependency’ is closed to new replies.