Fatal error: Call to undefined function views_get_page_view() [Drupal]

Avatar
  • Answered
I am receiving the following error message after activating a theme in Drupal 7:

Fatal error: Call to undefined function views_get_page_view() in /home/thehol20/public_html/culinaryandcraft.com/sites/all/themes/zmagazine/template.php on line 106

I am not sure where to begin with diagnosing it, and please don't say anything about drush, because I know absolutely nothing about it.
Avatar
IMH Support Agent 5
Hello, Thank you for your question about diagnosing this error. It looks like the error involves an undefined function views_get_page_view(). I advise searching the code for any iterations of that function and making sure the function itself is executing before being called. It is likely located in the file mentioned in the error path, "template.php". Best, Christopher M.