• Resolved SuzieB

    (@suzieb)


    This error shows up when I do a live test in Google Console. Looks like uagb- is missing in a couple of places??

    I have deactivated the social block but the error still appears. Which brings me to question, why is the Javascript showing up if that block is deactivated?

    Below code is from my page source code.

    <script type="text/javascript" id="uagb-script-frontend">document.addEventListener("DOMContentLoaded", function(){ 			var selector = document.querySelectorAll( '.uagb-block-93a9cc1d' );
    			var blockquote__tweet = selector[0].getElementsByClassName("uagb-blockquote__tweet-button");
    			blockquote__tweet[0].addEventListener("click",function(){
    				var content = selector[0].getElementsByClassName("uagb-blockquote__content")[0].innerText;
    				var request_url = "https://twitter.com/share?url="+ encodeURIComponent("' . . '")+"&text="+content+"&via="+("' .  . '"); 
    				window.open( request_url ); 
    			});
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @suzieb ,Hello,

    We’re sorry for the inconvenience caused to you. Also, we are thankful for your patience and readiness to help us fix things that we come across.

    I’d like to let you know, I have reported the same to our concerned developers. They will look into it. Please lend us some time. We’ll surely fix this issue in our upcoming updates.

    Your patience and co-operation are highly appreciated.

    Regards,
    Sweta

    Hello @suzieb ,

    We have fixed this issue in our version 1.22.4, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uncaught TypeError: blockquote__tweet[0] is undefined’ is closed to new replies.