I've moved a Drupal 6 instance over to a development server so that I can test upgrade to Drupal 7.

After transfer, I am receiving this error:

Fatal error: Call to a member function init_display() on a non-object in /var/www/acromagupgrade/themes/acromag/library/ViewHelper.php on line 29

What might cause that? I'm thinking maybe all of the files didn't transfer over. What else might make Drupal report this error?


caspervoogt’s picture

I would double-check that all your files have copied over. init_display() is a Views function defined in Views module folder /includes/view.inc (see this). If the file is not missing, check the permissions and if that fails, check the file ownership. Depending on server config that could be your personal username, www-data, apache, apache2, etc.