( ! ) Notice: Function wp_add_inline_script was called incorrectly. Do not pass <script> tags to wp_add_inline_script(). Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 4.5.0.) in /home/560575.cloudwaysapps.com/mzuyejqngp/public_html/wp-includes/functions.php on line 6031 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0014 | 553760 | {main}( ) | .../index.php:0 |
2 | 0.0015 | 554152 | require( '/home/560575.cloudwaysapps.com/mzuyejqngp/public_html/wp-blog-header.php ) | .../index.php:17 |
3 | 1.4533 | 97879840 | require_once( '/home/560575.cloudwaysapps.com/mzuyejqngp/public_html/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
4 | 1.4578 | 98012768 | apply_filters( $hook_name = 'template_include', $value = '/home/560575.cloudwaysapps.com/mzuyejqngp/public_html/wp-content/themes/woodmart/index.php' ) | .../template-loader.php:104 |
5 | 1.4578 | 98013176 | WP_Hook->apply_filters( $value = '/home/560575.cloudwaysapps.com/mzuyejqngp/public_html/wp-content/themes/woodmart/index.php', $args = [0 => '/home/560575.cloudwaysapps.com/mzuyejqngp/public_html/wp-content/themes/woodmart/index.php'] ) | .../plugin.php:205 |
6 | 1.4584 | 98014976 | XTS\Modules\Layouts\Shop_Archive->override_template( $template = '/home/560575.cloudwaysapps.com/mzuyejqngp/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.php' ) | .../class-wp-hook.php:324 |
7 | 1.4584 | 98014976 | XTS\Modules\Layouts\Shop_Archive->display_template( ) | .../class-shop-archive.php:99 |
8 | 1.4584 | 98014976 | XTS\Modules\Layouts\Shop_Archive->before_template_content( ) | .../class-shop-archive.php:111 |
9 | 1.4585 | 98014976 | get_header( $name = ???, $args = ??? ) | .../class-shop-archive.php:126 |
10 | 1.4585 | 98033168 | locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ) | .../general-template.php:48 |
11 | 1.4586 | 98033520 | load_template( $_template_file = '/home/560575.cloudwaysapps.com/mzuyejqngp/public_html/wp-content/themes/woodmart/header.php', $load_once = TRUE, $args = [] ) | .../template.php:725 |
12 | 1.4587 | 98038960 | require_once( '/home/560575.cloudwaysapps.com/mzuyejqngp/public_html/wp-content/themes/woodmart/header.php ) | .../template.php:790 |
13 | 1.4593 | 98048288 | wp_head( ) | .../header.php:12 |
14 | 1.4593 | 98048288 | do_action( $hook_name = 'wp_head' ) | .../general-template.php:3052 |
15 | 1.4593 | 98048664 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:517 |
16 | 1.4593 | 98048664 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:348 |
17 | 1.4596 | 98050792 | wp_enqueue_scripts( '' ) | .../class-wp-hook.php:324 |
18 | 1.4596 | 98050792 | do_action( $hook_name = 'wp_enqueue_scripts' ) | .../script-loader.php:2262 |
19 | 1.4596 | 98051168 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:517 |
20 | 1.4596 | 98051168 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:348 |
21 | 1.5179 | 101118976 | woodmart_enqueue_base_scripts( '' ) | .../class-wp-hook.php:324 |
22 | 1.5264 | 101258880 | wp_add_inline_script( $handle = 'woodmart-theme', $data = '\t\t\t\t\t\t\t<!-- Google tag (gtag.js) -->\r\n<script async src="https://www.googletagmanager.com/gtag/js?id=G-2XTS61519H"></script>\r\n<script>\r\n window.dataLayer = window.dataLayer || [];\r\n function gtag(){dataLayer.push(arguments);}\r\n gtag(\'js\', new Date());\r\n\r\n gtag(\'config\', \'G-2XTS61519H\');\r\n</script>\t\t\t\t\t\t\t\t', $position = ??? ) | .../enqueue.php:225 |
23 | 1.5264 | 101259200 | _doing_it_wrong( $function_name = 'wp_add_inline_script', $message = 'Do not pass <code><script></code> tags to <code>wp_add_inline_script()</code>.', $version = '4.5.0' ) | .../functions.wp-scripts.php:142 |
24 | 1.5264 | 101260032 | wp_trigger_error( $function_name = '', $message = 'Function wp_add_inline_script was called <strong>incorrectly</strong>. Do not pass <code><script></code> tags to <code>wp_add_inline_script()</code>. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.5.0.)', $error_level = ??? ) | .../functions.php:5975 |
25 | 1.5266 | 101260288 | trigger_error( $message = 'Function wp_add_inline_script was called incorrectly. Do not pass <script> tags to wp_add_inline_script(). Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 4.5.0.)', $error_type = 1024 ) | .../functions.php:6031 |