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:
wp_register_script()
wp-content/themes/alif/functions.php:380alif_scripts()
call_user_func_array()
/opt/elastic/apm-agent-php/src/ElasticApm/Impl/AutoInstrument/Util/AutoInstrumentationUtil.php:97Elastic\A\I\A\U\AutoInstrumentationUtil::captureCurrentSpan()
/opt/elastic/apm-agent-php/src/ElasticApm/Impl/AutoInstrument/WordPressFilterCallbackWrapper.php:102Elastic\A\I\A\WordPressFilterCallbackWrapper::__invoke()
wp-includes/class-wp-hook.php:310WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:334WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-includes/script-loader.php:2225wp_enqueue_scripts()
call_user_func_array()
/opt/elastic/apm-agent-php/src/ElasticApm/Impl/AutoInstrument/Util/AutoInstrumentationUtil.php:97Elastic\A\I\A\U\AutoInstrumentationUtil::captureCurrentSpan()
/opt/elastic/apm-agent-php/src/ElasticApm/Impl/AutoInstrument/WordPressFilterCallbackWrapper.php:102Elastic\A\I\A\WordPressFilterCallbackWrapper::__invoke()
wp-includes/class-wp-hook.php:310WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:334WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-includes/general-template.php:3053wp_head()
wp-content/themes/alif/header-1.php:24require_once()
wp-includes/template.php:785load_template()
wp-includes/template.php:720locate_template()
wp-content/themes/alif/header.php:22require_once()
wp-includes/template.php:785load_template()
wp-includes/template.php:720locate_template()
wp-includes/general-template.php:48get_header()
wp-content/themes/alif/full-width.php:10include()
wp-includes/template-loader.php:106require_once()
wp-blog-header.php:19require()
index.php:17