Fatal error: Uncaught Error: Too few arguments to function wp_register_script(), 1 passed in /var/www/html/v2/wp-content/themes/alif/functions.php on line 380 and at least 2 expected
in /var/www/html/v2/wp-includes/functions.wp-scripts.php on line 179

Call stack:

  1. wp_register_script()
    wp-content/themes/alif/functions.php:380
  2. alif_scripts()
  3. call_user_func_array()
    /opt/elastic/apm-agent-php/src/ElasticApm/Impl/AutoInstrument/Util/AutoInstrumentationUtil.php:97
  4. Elastic\A\I\A\U\AutoInstrumentationUtil::captureCurrentSpan()
    /opt/elastic/apm-agent-php/src/ElasticApm/Impl/AutoInstrument/WordPressFilterCallbackWrapper.php:102
  5. Elastic\A\I\A\WordPressFilterCallbackWrapper::__invoke()
    wp-includes/class-wp-hook.php:310
  6. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:334
  7. WP_Hook::do_action()
    wp-includes/plugin.php:517
  8. do_action()
    wp-includes/script-loader.php:2225
  9. wp_enqueue_scripts()
  10. call_user_func_array()
    /opt/elastic/apm-agent-php/src/ElasticApm/Impl/AutoInstrument/Util/AutoInstrumentationUtil.php:97
  11. Elastic\A\I\A\U\AutoInstrumentationUtil::captureCurrentSpan()
    /opt/elastic/apm-agent-php/src/ElasticApm/Impl/AutoInstrument/WordPressFilterCallbackWrapper.php:102
  12. Elastic\A\I\A\WordPressFilterCallbackWrapper::__invoke()
    wp-includes/class-wp-hook.php:310
  13. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:334
  14. WP_Hook::do_action()
    wp-includes/plugin.php:517
  15. do_action()
    wp-includes/general-template.php:3053
  16. wp_head()
    wp-content/themes/alif/header-1.php:24
  17. require_once()
    wp-includes/template.php:785
  18. load_template()
    wp-includes/template.php:720
  19. locate_template()
    wp-content/themes/alif/header.php:22
  20. require_once()
    wp-includes/template.php:785
  21. load_template()
    wp-includes/template.php:720
  22. locate_template()
    wp-includes/general-template.php:48
  23. get_header()
    wp-content/themes/alif/single.php:10
  24. include()
    wp-includes/template-loader.php:106
  25. require_once()
    wp-blog-header.php:19
  26. require()
    index.php:17

Query Monitor