Hey Guys,

since a couple of days, I get the following Error message after I've saved a content page.
Notice: Undefined index: n0151 in include() (Zeile 1 von /mnt/webw/c0/01/5220001/htdocs/drupal-cms/modules/system/html.tpl.php).

The Notice appears just only in admin view, not in the common user view.

There were no changes on the Durpal System within the last couple of month and I'm wondering why this happens and why now.
I've already delete the drupal cache, but this didn't resolves the issue. Any ideas?

Installed Drupal Version 7.36

I'd really appreciate if someone could give me a hint how a could handle this issue.

Thank you!

Comments

Chasen’s picture

You need to start chunking the problem down, eliminating things that aren't related and therefore narrowing your list of related items.

For example:

  1. What does the error tell you? Google every combination of the error you can think of to find any possible info about it. Also check if you see a database log entry for the error notice you see on the page? Check both Drupal logs and your server logs - this could point to the cause.
  2. Has there been any changes at ALL in the week(s) preceding the issue? If yes, is there ANY chance they're related? If yes, investigate.
  3. If no, has the hosting provider made any changes to the Apache/PHP/MySQL/etc configuration, server side? If yes, investigate.
  4. If no, are your permissions all correct on your drupal files? There's documentation and even modules to check this for you. If no, investigate.
  5. If yes, does this happen to all content types? If not, which content types? What is similar or different about the content types that does break and the content types that don't?
  6. If yes, does this happen to all users? I'm assuming you're logging in as user/1 so try creating another administrator user and log in as that and see if there's an issue? See if there's any pattern in terms of permissions that could be related.
  7. If yes, try disabling modules one by one, repeating the new content creation between each one. Try disabling the more obscure/beta/etc modules first working down to the more common/popular/stable modules.

After that, you could try updating all modules and seeing if that fixes it. Maybe run a virus scan over your server to make sure there hasn't been an injection or compromise. Try copying your site to a sandbox and see if there's any change?

The above applies to all problems and while it may seem easy to ask for the answer you'll learn more this way, I promise :)

Let me know how you go with the above and if you're still stuck list the results of the above I'll see if I can help

EDIT: By the way, line 1 of that html template file is the opening PHP tag so there could be an issue with another template file if it's not opening/closing tags properly or there's a syntax issue. Have you modified any tpl files or written any custom HTML/PHP code? Be worth checking that