I get this error when trying to send email to a measily TWO users:

Fatal error: Unsupported operand types in /home/viparagl/public_html/matheson/includes/common.inc on line 1376

Is there something I need to configure properly? I couldn't find anything I could have possible messed up.

CommentFileSizeAuthor
#7 advuser.6.x-2.x-dev.patch1.44 KBAnonymous (not verified)

Comments

mdowsett’s picture

I had to remove this module, it was also causing this same error upon new user registration...a big no-no!

lennart’s picture

I get the same error.

lennart’s picture

Priority: Normal » Critical

I think this is critical.

CharlieHipHop’s picture

Same error here. It's possible to debug, but I still haven't figured it out.

bobthecow’s picture

This error is because the Advanced User module is calling url() using the old params... and it's not a very robust url() function so it dies :)

Here's a writeup on the 'Unsupported operand types' error, and what I did to solve it (If you don't want to fix the module, just use the first option listed, it'll let you use the module until they fix it.

mcfilms’s picture

I get this same error on my install of advuser.6.x-2.x-dev with patch 1.14.2.3 when I attempt to send mail to multiple users.

If I go to admin/user/user/advuser and try to "Email selected users" I get to the page where I can compose my message. But when I click the "Email" button I get:
Unsupported operand types in (drupal path)/includes/common.inc on line 1376

However, unlike an earlier report, I do not get this error when I try to use the new user registration I also don't get it using the contact form.

Anonymous’s picture

Title: Fatal error when sending email » Invalid use of l() and url()
Status: Active » Fixed
StatusFileSize
new1.44 KB

Thanks to CharlieHipHop and bobthecow for pointing me in the right direction. I've committed a fix to CVS and have attached that fix here.

Status: Fixed » Closed (fixed)

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