• Resolved tbob21

    (@tbob21)


    The new update has broken several sites.

    Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function Nextgenthemes\\WP\\wp_script_modules() in /wp-content/plugins/advanced-responsive-video-embedder/vendor/nextgenthemes/wp-shared/includes/WP/Settings.php:62\nStack trace:\n#0 /wp-content/plugins/advanced-responsive-video-embedder/php/Base.php(18): Nextgenthemes\\WP\\Settings->__construct()\n#1 /wp-content/plugins/advanced-responsive-video-embedder/php/Base.php(48): Nextgenthemes\\ARVE\\Base->__construct()\n#2 /wp-content/plugins/advanced-responsive-video-embedder/php/fn-settings.php(8): Nextgenthemes\\ARVE\\Base::get_instance()\n#3 /wp-content/plugins/advanced-responsive-video-embedder/php/fn-shortcodes.php(147): Nextgenthemes\\ARVE\\options()\n#4 /wp-includes/class-wp-hook.php(310): Nextgenthemes\\ARVE\\creat...'
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Nico

    (@nico23)

    I don’t believe you are running the latest WP version. I marked 6.5 as required inside the readme. Not sure if WP just lets you update the plugin anyway, or did you use some unusual means to update the plugin?

    I just released another update that additionally set 6.5 as required in the main plugin file, that I forgot to set, that may be the reason it let you update anyway. So you need WP 6.5 at least but better go with latest 6.5.4. (6.6 is in beta and out soon btw)

    Thread Starter tbob21

    (@tbob21)

    Yes, it auto updated and broke several sites. They were running the latest 6.4 patch as they have to manually be updated to 6.5.

    Thread Starter tbob21

    (@tbob21)

    Seems to work fine on 6.5.4.

    Had the same issue. WP is up to date. Commenting out line 62 of the settings.php fixed it temporarily.

    //add_action( ‘admin_head’, array( wp_script_modules(), ‘print_import_map’ ) );

    The file advanced-responsive-video-embedder.php still has 6.2 as minimum version. This should be raised to at least 6.5.0, as wp_script_modules() was added in 6.5.0.

    www.remarpro.com also shows: ‘WordPress version: 6.2 or higher

    Plugin Author Nico

    (@nico23)

    The 10.2.1 release was hold back by an automated test that just randomly failed, and I missed that. It’s now set to required in both files.

    Had the same issue. WP is up to date. Commenting out line 62 of the settings.php fixed it temporarily.

    //add_action( ‘admin_head’, array( wp_script_modules(), ‘print_import_map’ ) );

    @summerchilde

    Double check if your WP, actually, really updated. As @tbob21 confirmed above, this function is part of WP 6.5+ and is loaded early on when WP “Loads most of WP” in load.php I think. If your site does not load this, something is very weird. Open a proper support ticket. People keep just ignoring the sticky threads, it’s annoying.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.