theme_preprocess_node function not getting executed from template file
For using this hook, u will have to replace MYTHEME with your theme name, like if your theme name is bartik, then your function will be

bartik_preprocess_node(&amp;$variables, $hook)


After that clear your cache, by going to Configuration >> Development >> Performance

or just write in url admin/config/development/perfromance