ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I land on my test website, some of my templates are not loading and I get this message below:

Notice Undefined index: protect_javascript ee/legacy/libraries/Template.php, line 2443 hide details

Severity: E_NOTICE

This only happens when I land on my website as if I was a customer. When I am logged in and view the site, then I can see the website perfectly clear?

Not to sure what's happening.

Thanks

share|improve this question
    
Not sure what's exactly going on without some information, but maybe try adding $config['protect_javascript'] = "y"; in your config.php? – BrandonOHara Oct 22 '15 at 20:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.