Home Forums WoodMart support forum Error on line Functions.php

Error on line Functions.php

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #596131

    Bobthestoreowner
    Participant

    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?

    #596132

    Bobthestoreowner
    Participant

    I put some extra spaces in it. Because I got a Wordfence block.

    #596141

    Artem Temos
    Keymaster

    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.

    #596292

    Bobthestoreowner
    Participant

    Sent the information below

    #596350

    Artem Temos
    Keymaster

    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

    #597077

    Bobthestoreowner
    Participant

    Where can I remove that, I was not aware I even added something there.

    #597169

    Artem Temos
    Keymaster

    Check this in Theme Settings -> Custom JS section.

    Kind Regards

Viewing 7 posts - 1 through 7 (of 7 total)