Hello, I'm having troubles with a notice in my test site, the message is:

Notice: Undefined index: path in sf_entity_menu() (line 41 of .../modules/salesforce/sf_entity/sf_entity.module).

OPTIONAL HELP:
I also want to ask i f someone had the following experience: i tried in all ways possible to install Entity Forms module in the site, together with salesforce, and og. I don't know at what point it breaks but gives me this fatal error related to entity:
Fatal error: Call to undefined method stdClass::uri() in .../modules/entity/entity.module on line 945

Could this also be related to an issue with salesforce entity?
Thanks a lot if someone can help me with this extra question, or point me in the right direction.

CommentFileSizeAuthor
#1 undefined-index-path-1570384-1.patch464 byteskostajh

Comments

kostajh’s picture

Version: 7.x-2.0-alpha1 » 7.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new464 bytes

Can you try this patch on the latest 7.x-2.x-dev please?

kostajh’s picture

Also, the issue with Entity Forms should be filed with that module, not here.

kostajh’s picture

Status: Needs review » Fixed
nicodv’s picture

right, i'll do it

nicodv’s picture

Thanks so much, one less thing to worry about

:)

nicodv’s picture

Now i get this: Notice: Undefined offset: 0 in sf_entity_export_field_default() (line 1243 of /home/theveryl/public_html/kings/sites/all/modules/salesforce/sf_entity/sf_entity.module).

Any idea?

kostajh’s picture

Please file this as a new issue and provide some more context for the problem, and I will try to help. thanks!

nicodv’s picture

Well, I cannot reproduce the error now. I'll post it as a new issue if it happens again, and in that case i'll have my eyes opened to see the reason (enabling a module, or so)

BTW: now that i have you around (and maybe this is not the right way to do it, but I've been posting and reading and no answer has come to me so far): I cannot chain rules after I import ie. users (accounts) to the site from sf, the reason is there is no event that reflects the "a user has been created" (message when import of users is done) How can i detect a user has been imported, so I can -for example- grant a new role automatically?

thanks a lot in advance (a little desperate here)

nicodv’s picture

BTW, after I applied this patch the admin menu module started behaving bad: not showing many of the menu items, etc. I removed the patch and the menu is ok, but the message is back there:

Notice: Undefined index: path in sf_entity_menu() (line 41 of /home/bsghubne/public_html/test/sites/all/modules/salesforce/sf_entity/sf_entity.module).

And after disabling the admin menu module, everything goes back to normallity.

Should I post an issue to the Admin menu module guys? Is it because sf_entity?

thanks

Status: Fixed » Closed (fixed)

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