• Cannot read properties of undefined (reading ‘addClass’)

    Hello, I get this error in the console, can it be solved?

    I have tested this plugin and it has errors in the console, this can be solved, as you can see, it works a little weird?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter atilio85

    (@atilio85)

    Plugin Support Facundo Arano

    (@aranofacundo)

    Hi there,
    Please add the following PHP code and then check if the issue is solved:

    if( ! function_exists( 'yith_wcan_content_selector' ) ){
        function yith_wcan_content_selector( $selector ){
            $selector = '#main-content';
            return $selector;
        }
        add_filter( 'yith_wcan_content_selector', 'yith_wcan_content_selector' );
    }

    I’ll be looking for your reply.

    Thread Starter atilio85

    (@atilio85)

    Se cayó el sitio con ese código facundo

    Plugin Support Facundo Arano

    (@aranofacundo)

    Hola,
    Acabo de revisar el código en mi sitio local y no he tenido problemas.
    Por favor, verifica que ha agregado el código en el archivo functions.php de tu tema actual, y que el código esté copiado correctamente.

    Quedo a tu disposición.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error in console’ is closed to new replies.