Fatal error: Call to a member function init_pager() on a non-object in /home/admin/mysite.com/sites/all/modules/views/includes/view.inc on line 119

I got this error when upgraded to the latest dev views version.

Comments

esmerel’s picture

Status: Active » Postponed (maintainer needs more info)

Have you read http://drupal.org/node/571990? Where do get this error? What exactly were you attempting to do when you got this?

jacobpov’s picture

I am getting this error at user profile pages ie: www.mysite.com/user/user1

I have 3 views there .
everything was working fine before updating the latest dev, and I did have the previous release of dev version before the update

dawehner’s picture

@jacobpov

If you don't want to read 571990 we will consider to mark this issue as "won't fix".

This is my line 119


  function set_items_per_page($items_per_page) {

and init_pager is not called in view.inc

jacobpov’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks I checked and found out that drush didn't update it right so I manually updated it and everything works fine now

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

darrenj1’s picture

What does that mean?

I've been getting this error for months on various admin pages
- after running update.php
- after saving permissions
- on enabling/disabling modules.

I dont know how to progress.

Example:
URL:
http://intranet/admin/build/modules/list/confirm

Error:
Fatal error: Call to a member function init_pager() on a non-object in /FileServices/WebSites/drupal/httpdocs/sites/all/modules/views/includes/view.inc on line 119