fixes  #3332
Merge pull request #3340 from dotCMS/issue-3332-error-in-console-when-you-go-to-content-tab

fixes  #3332