Uncaught TypeError: Cannot read property 'getElementsByTagName' of null tabs.js

Discussion in 'VideoCraft WordPress Theme' started by amouratoglou, Sep 11, 2014.

  1. amouratoglou

    amouratoglou Member

    Joined:
    Aug 20, 2014
    Messages:
    58
    Likes Received:
    0
    -Im using a child theme of the theme.

    I have this error in JS:

    Code:
    Uncaught TypeError: Cannot read property 'getElementsByTagName' of null tabs.js?ver=3.9.2:43
    Uncaught TypeError: Cannot read property 'getElementsByTagName' of null tabs.js?ver=3.9.2:43menuscript.init tabs.js?ver=3.9.2:43(anonymous function)

    Can you advice what is wrong?
     
  2. amouratoglou

    amouratoglou Member

    Joined:
    Aug 20, 2014
    Messages:
    58
    Likes Received:
    0
  3. amouratoglou

    amouratoglou Member

    Joined:
    Aug 20, 2014
    Messages:
    58
    Likes Received:
    0
  4. amouratoglou

    amouratoglou Member

    Joined:
    Aug 20, 2014
    Messages:
    58
    Likes Received:
    0
  5. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    Theme do not have such type of problem .We are not getting this type of error. Will you please provide a screenshot where you are facing problem.
    Thanks & Regards
    Pramod
     
  6. amouratoglou

    amouratoglou Member

    Joined:
    Aug 20, 2014
    Messages:
    58
    Likes Received:
    0
    sorry the problem appears in my child theme , can you help me find why this happens????
    thanks for your kind assistance.
    the error appears in all the pages except in the pages that have the tabbed recent , recommended and popular videos.
    how can i make this script load only in those pages and not in all the pages?
     
  7. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    To fix this problem copy functions folder from videocraft main theme and paste that folder in videocraft-child theme folder.

    It will resolve your issue.

    Thanks & Regards
    Yogesh Bhade
     
  8. amouratoglou

    amouratoglou Member

    Joined:
    Aug 20, 2014
    Messages:
    58
    Likes Received:
    0
    Hi Yogesh, I have done what you said, but still the problem persists...
    This is breaking other important plugins JS.
    All pages give error except the ones that include the video tab...
    please can you help?

    thanks!!
     
  9. amouratoglou

    amouratoglou Member

    Joined:
    Aug 20, 2014
    Messages:
    58
    Likes Received:
    0
    Ok , I can see my post is being ignored. Its ok. :)

    I fixed the issue editing the theme and making the tab.js only load in the page I need it.
     

Share This Page