Error on line Functions.php
-
My site is giving a problem in the functions.php, which as far as I understand is part of the theme. On all of my pages. The function wp_add_ inline_script was called incorrectly. Do not pass the < script > tags to wp_add_inline_script( ).
Could you help me with that?
I put some extra spaces in it. Because I got a Wordfence block.
Hello,
Please disable any plugins not directly related to our theme and provide us with your admin access details. We will log in to your dashboard and investigate the issue. Please ensure that you only keep the following plugins that are necessary for our theme to work correctly:
– WoodMart core
– WooCommerce
– Elementor/WPBakery Page Builder
Thank you in advance.
Sent the information below
It is caused by the < script > tag add to the custom JS area in Theme Settings. You need to remove it from there to fix this.
Kind Regards
Where can I remove that, I was not aware I even added something there.
Check this in Theme Settings -> Custom JS section.
Kind Regards