I found that there was a huge number of errors in server log with the following:

PHP Fatal error: Call to undefined function user_access() in /home/sites/all/modules/user_visits/user_visits.module on line 217

For the moment I removed the following from user_visits.module which makes the error go away, but would appreciate the bug to be fixed :)

// Don't count if user no has access to profile.
  if (!user_access('access user profiles')) {
    return;
  }

Comments

ptmkenny’s picture