We received this error but haven't been able to reproduce it yet so this is just a heads up. I'll post back if we can reproduce it consistently:

Fatal error: Call to a member function asXML() on a non-object in /var/www/drupal/drupal-6/env/modules/icontact/icontact.module on line 361

Comments

sayanthing’s picture

Hi, I'm having this error.

"Fatal error: Call to a member function checkLoggedIn() on a non-object in /home7/berkeycl/public_html/modules/icontact/icontact.install on line 15"

What does this mean and how do I fix it?

Is this the cause of my not being able to place an email signup form in my blocks?

Thanks,

Jeff

monstordh’s picture

Title: Fatal error: Call to a member function asXML() on a non-object » Fatal error: Call to a member function checkLoggedIn() on a non-object

This is the error I'm getting:

Fatal error: Call to a member function checkLoggedIn() on a non-object in /mnt/stor2-wc2-dfw1/440049/www.mydomain.com/web/content/sites/all/modules/icontact/icontact.admin.inc on line 99

When I go to my Accounts tab, I get this:

iContact error: You are not logged in.
warning: Invalid argument supplied for foreach() in /mnt/stor2-wc2-dfw1/440049/www. mydomain.com/web/content/sites/all/modules/icontact/modules/icontact_ui/includes/icontact_ui.accounts.inc on line 195.

Is anyone still maintaining this module???

justbradford’s picture

I've seen that, too...would love to get this puppy working to allow iContact list signup from new user registration and blocks...it's about CD release time!

Bradford
www.justbradford.com

jrefano’s picture

Version: 6.x-1.x-dev »

same error here

-enzo-’s picture

The problem is because the
classes/iContact.class.inc and icontact_api.php create the iContact class but the icontact_api.php is the last file loaded and this class doesn't have the requested method.

I hope the maintainer can figure out soon.

Regards,

enzo

chrisschaub’s picture

This also needs to be fixed in the .install file. Throws same error.

greenskin’s picture

Status: Active » Fixed

Fixed as of 2.x-ALPHA2 release, please confirm.

bennash’s picture

Nope, not fixed. Would love to use this module and icontact

Fatal error: Call to a member function getResourceIds() on a non-object in /PATH/sites/all/modules/icontact/icontact_ui/includes/icontact_ui.accounts.inc on line 191

greenskin’s picture

@bennash That is a separate issue, see the following:#788864: Update iContact UI menus to use own access callback

Status: Fixed » Closed (fixed)

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

jonwithhtop’s picture

Assigned: Unassigned » jonwithhtop
Status: Closed (fixed) » Needs review

I'm still receiving this error

jonwithhtop’s picture

Status: Needs review » Fixed

I stopped receiving this error when on my icontact account I registered Drupal

dchaffin’s picture

@jonwithhtop

What do you mean you registered Drupal on your iContact account? I'm trying to set this up for a client and I have their iContact info, but I do not see anything on iContact's site that sounds like what you described.

berkeywater’s picture

Nothing has been fixed on my end. I'm still receiving the same error message. What must I do to fix this?

"Fatal error: Class 'iContact' not found in /home7/*****/public_html/modules/icontact/icontact.module on line 238"

jonwithhtop’s picture

What I did was this:

Go to:
/admin/reports/status

Scroll to the bottom and see:

ICONTACT API You are not logged in
Go to iContact API settings to set log in credentials. To enable this application for your iContact account, go to enable external login and enter a password and the appropriate APP ID from below.
Live: (will show code)
Sandbox: (will show code)

I took this information and used the link

https://app.sandbox.icontact.com/icp/core/externallogin

That link takes you to the external application setup for the icontact sandbox. Enter you information and it will take you to a screen to where it says something like:

Enable Another External Program

Application ID*

Create a Password*

After that is created, you should be able to use your iContact without receiving this error

When you register Drupal on your iContact account you should see on your iContact account this:

Drupal iContact (long api code)

NOTES:
This is the installation for the iContact Sandbox

berkeywater’s picture

I did exactly what you said. I have now enabled icontact. The application name is : Drupal Module and it has the Application ID.

However, when you go to /admin/reports/status it still says you are not logged in.

Also, when I go to admin/icontact is gives me a brand-new error message.

Fatal error: Call to a member function getResourceIds() on a non-object in /home7/*****/public_html/modules/icontact/icontact_ui/includes/icontact_ui.accounts.inc on line 191

What do I do now?

arjun0819’s picture

Fatal error: Cannot access protected property iContactClientFolder::$subscriptions in /home/arjunweb/public_html/linkfunny.com/sites/all/modules/icontact/classes/iContactSubscription.class.inc on line 46

When I Subscribe use this module's block I have this error.

jonwithhtop’s picture

Status: Fixed » Active

@berkeywater

I had to clear the Cache after all the steps and then it let me login.

greenskin’s picture

Status: Active » Fixed

Fixed. Please try the latest dev release.

Status: Fixed » Closed (fixed)

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