Undefined variable "hide_site_name" I am having great difficulty in trying to create my own theme. The errors that persist are:


  Notice: Undefined variable: hide_site_name in include() (line 98 of C:\wamp\www\drupal7\sites\all\themes\ppro8\templates\page.tpl.php).
  Notice: Undefined variable: hide_site_name in include() (line 108 of C:\wamp\www\drupal7\sites\all\themes\ppro8\templates\page.tpl.php).


I copied all files from the bartik theme into /sites/all/themes/myTheme/, and did the following:


I changed bartik.info into myTheme.info, and 'name = bartik' to 'name = myTheme'.
I replaced all occurrences of 'bartik' in templates.php to 'myTheme' (search and replace with notepad++). Up to this stage, the error still shows, so I tried the following as well:

I replaced all occurrences of 'bartik' in all files in the folder 'myTheme'



However, none of the above steps could remove the errors.

Could anyone please shed some light on this issue?
I had exactly the same problem here and complete system cache clearing helped me out.


  Configuration -> Development -> Performance -> Clear all caches.


That solved the problem for me.

See: Undefined variable: hide_site_name in include() while change theme