I'm running: Drupal 6.17, ubercart 2.3, mailchimp 2.0, and uc_mailchimp 3.0
When I turn uc_mailchimp on, I get the White Screen of Death. After installing dtools (http://drupal.org/project/dtools), the following error is reported on the white screen:

array(4) { ["type"]=> int(1) ["message"]=> string(40) "Call to undefined function user_access()" ["file"]=> string(66) "/Applications/MAMP/htdocs/modules/uc_mailchimp/uc_mailchimp.module" ["line"]=> int(12) }

If this is a module conflict, how do assess the conflict besides turning modules off one by one? If it is a module conflict, how is that corrected?

Thanks!

Comments

LightFromArt’s picture

I got the same problem. Only deletion of whole directory uc_mailchimp from the server make my site work again.

arcaneadam’s picture

Status: Active » Closed (cannot reproduce)

That sounds like a random issue. I can't recreate it. For one user_access is a core function included with the user.module file. So there is no reason that it should be an undefined function. I'm going to need some more info to see what the issue is but it is most likely not a problem with the module and something to do with your setup.

miss-susan’s picture

Status: Closed (cannot reproduce) » Active

I just got the same issue, on both my testing and production sites. I am running Drupal 6.19, Mailchimp 6.x - 2.2, Ubercart 6.x - 2.4, and the Mailchimp Ubercart 6.x - 3.0.

I'd be happy to give you a login to my test site if you want to play around and get some more info. PM me if you're interested.

arcaneadam’s picture

Status: Active » Closed (cannot reproduce)

If you can provide some error logs of what the error was I can try and track it down. If it's the same error as above I would suggest searching the site for "Call to undefined function user_access()" and see if others have had the same issue. But this module making a call to a core, required, module isn't a problem I can address.

mindwarz’s picture

For the record just wanted to post same error any fixes for this issue please share: Fatal error: Call to undefined function user_access() in /home/freshont/public_html/modules/uc_mailchimp-6.x-2.0/uc_mailchimp/uc_mailchimp.module on line 12

miss-susan’s picture

Status: Closed (cannot reproduce) » Needs review

I just tried installing this on a totally new site and got the same issue:

Fatal error: Call to undefined function user_access() in /home/d3dental/d3disposables.com/modules/uc_mailchimp/uc_mailchimp.module on line 12

Running Drupal 6.26, Ubercart Mailchimp 3.0, Ubercart 2.9, and Mailchimp 2.6. Only solution was to delete the entire module. No log entries were made.

Commenting out the offending line in uc_mailchimp.module seemed to fix the problem. I don't know what effects it will have, but I haven't come across any yet.