( ! ) Notice: Function WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /var/www/vhosts/attorneydocs.com/httpdocs/wp-includes/functions.php on line 6121 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.1385 | 5047208 | {main}( ) | .../index.php:0 |
2 | 0.1385 | 5047560 | require( '/var/www/vhosts/attorneydocs.com/httpdocs/wp-blog-header.php ) | .../index.php:17 |
3 | 2.0873 | 48265616 | require_once( '/var/www/vhosts/attorneydocs.com/httpdocs/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
4 | 2.1347 | 49364192 | include( '/var/www/vhosts/attorneydocs.com/httpdocs/wp-content/plugins/woocommerce/templates/single-product.php ) | .../template-loader.php:106 |
5 | 2.7515 | 61334824 | get_footer( $name = 'shop', $args = ??? ) | .../single-product.php:60 |
6 | 2.7515 | 61335080 | locate_template( $template_names = [0 => 'footer-shop.php', 1 => 'footer.php'], $load = TRUE, $load_once = TRUE, $args = [] ) | .../general-template.php:92 |
7 | 2.7517 | 61335192 | load_template( $_template_file = '/var/www/vhosts/attorneydocs.com/httpdocs/wp-content/themes/kapee/footer.php', $load_once = TRUE, $args = [] ) | .../template.php:745 |
8 | 2.7517 | 61337328 | require_once( '/var/www/vhosts/attorneydocs.com/httpdocs/wp-content/themes/kapee/footer.php ) | .../template.php:810 |
9 | 2.8391 | 61802072 | wp_footer( ) | .../footer.php:29 |
10 | 2.8391 | 61802072 | do_action( $hook_name = 'wp_footer' ) | .../general-template.php:3208 |
11 | 2.8391 | 61802288 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:517 |
12 | 2.8391 | 61802288 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:348 |
13 | 2.8400 | 61808608 | Kapee_Theme_Class->kapee_owl_param( '' ) | .../class-wp-hook.php:324 |
14 | 2.8400 | 61808640 | wp_localize_script( $handle = 'kapee-script', $object_name = 'kapeeOwlParam', $l10n = NULL ) | .../functions.php:550 |
15 | 2.8400 | 61808640 | WP_Scripts->localize( $handle = 'kapee-script', $object_name = 'kapeeOwlParam', $l10n = NULL ) | .../functions.wp-scripts.php:228 |
16 | 2.8400 | 61808960 | _doing_it_wrong( $function_name = 'WP_Scripts::localize', $message = 'The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead.', $version = '5.7.0' ) | .../class-wp-scripts.php:570 |
17 | 2.8400 | 61809792 | wp_trigger_error( $function_name = '', $message = 'Function WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.)', $error_level = ??? ) | .../functions.php:6061 |
18 | 2.8401 | 61810240 | trigger_error( $message = 'Function WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.)', $error_level = 1024 ) | .../functions.php:6121 |