• Francesco

    (@fcolombo)


    Hi everyone,

    Chrome console shows loads of Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null errors and point to this line of code injected by the Lazy FB Comment plugin:

    
    var rect = document.getElementById('lfc_comments').getBoundingClientRect();
    

    Does anyone have any idea on how to get around this?

    Some debug data:

    
    box_width : 
    comments_count : 10
    order_by : social
    color_scheme : light
    comments_lang : en_AU
    load_on : scroll
    div_class : comments-area
    button_text : Load Comments
    sdk_loaded : 1
    WordPress Version : 4.9.8
    PHP Version : 5.6.38
    Plugin Version : 2.0.3
    

    Would really appreciate some help!

Viewing 1 replies (of 1 total)
  • Thread Starter Francesco

    (@fcolombo)

    PS I think this is due to the fact that I minify JS files via W3TC

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot read property ‘getBoundingClientRect’ of null’ is closed to new replies.