Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By andy.alexander on
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?
Comments
Missing files?
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.
site: https://www.plethoradesign.com
blog: https://www.plethoradesign.com/blog