Hi,

I have 16 domains added to my site via domain access, and after added adding the 15th domain I started getting these errors.
I tried removing a domain but it didn't help.

the only consistent way I can reproduce the error is by surfing to
http://web17.2bwebsite.com/

and them surfing to

http://web16.2bwebsite.com/

Thanks

CommentFileSizeAuthor
#1 1917190-domain-source-lookup.patch903 bytesagentrickard

Comments

agentrickard’s picture

Status: Active » Needs review
StatusFileSize
new903 bytes

First, thank you for opening a new issue.

I see the problem, I think. It would occur when an invalid $nid is passed to the function, which should not happen, but is happening in your case.

Here's a quick patch.

VanessaM’s picture

wow! you responded so quickly! thank you so much.

the patch worked like a charm!

Thanks again.

agentrickard’s picture

Status: Needs review » Reviewed & tested by the community

I would be interested to know, if you can tell, what value is being passed to that function (and from where.)

agentrickard’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

   f0ca661..1b3b5b7  7.x-3.x -> 7.x-3.x
VanessaM’s picture

where do I check?
I am not a php developer

agentrickard’s picture

That's ok. You would need to do some PHP-level debugging.

Thanks for the clear error report.

andrea.cavattoni’s picture

#1 fixed the problem also for me.. tnx

agentrickard’s picture

Status: Fixed » Closed (fixed)

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