There is an error when editing the block "Block User Relationships: relationship name".
Warning : include_once(sites/all/modules/user_relationships/user_relationships_ui/user_relationships_ui.admin_actions.inc) [function.include-once]: failed to open stream: No such file or directory dans user_relationship_blocks_block_configure() (ligne 132 dans /sites/all/modules/user_relationships/user_relationship_blocks/user_relationship_blocks.module).
Warning : include_once() [function.include]: Failed opening 'sites/all/modules/user_relationships/user_relationships_ui/user_relationships_ui.admin_actions.inc' for inclusion (include_path='.:/usr/local/php5/lib/php') dans user_relationship_blocks_block_configure() (ligne 132 dans /sites/all/modules/user_relationships/user_relationship_blocks/user_relationship_blocks.module).
Notice : Trying to get property of non-object dans user_relationship_blocks_block_configure() (ligne 152 dans /sites/all/modules/user_relationships/user_relationship_blocks/user_relationship_blocks.module).
Notice : Trying to get property of non-object dans user_relationship_blocks_block_configure() (ligne 175 dans /sites/all/modules/user_relationships/user_relationship_blocks/user_relationship_blocks.module).
Comment | File | Size | Author |
---|---|---|---|
#8 | fix_blocks_settings.patch | 6.12 KB | Berdir |
#5 | 1211066-screen-snapshot.png | 69.8 KB | sw3b |
#1 | 1211066.patch | 3.26 KB | Berdir |
Comments
Comment #1
BerdirPlease try the attached patch and confirm that this fixes the issue.
Comment #2
sw3b CreditAttribution: sw3b commentedStill got those error and the settings are not saved.
Notice : Trying to get property of non-object dans user_relationship_blocks_block_configure() (ligne 150 dans /sites/all/modules/user_relationships/user_relationship_blocks/user_relationship_blocks.module).
Notice : Trying to get property of non-object dans user_relationship_blocks_block_configure() (ligne 173 dans /sites/all/modules/user_relationships/user_relationship_blocks/user_relationship_blocks.module).
Comment #3
BerdirI am unable to reproduce that error.
Saving blocks works fine for me.
Are you using the most recent version of UR? Try to uninstall and re-install the UR-Blocks module? Does that help?
Comment #4
sw3b CreditAttribution: sw3b commentedYes i'm using the most recent ! I will look in more detail to see if I can find the error or more details.
Comment #5
sw3b CreditAttribution: sw3b commentedNow seetings are save with latest Dev version but still got this error when editing the block:
Warning : include_once(sites/all/modules/user_relationships/user_relationships_ui/user_relationships_ui.admin_actions.inc) [function.include-once]: failed to open stream: No such file or directory dans user_relationship_blocks_block_configure() (ligne 132 dans /home/sw3b/www/www/sites/all/modules/user_relationships/user_relationship_blocks/user_relationship_blocks.module).
Warning : include_once() [function.include]: Failed opening 'sites/all/modules/user_relationships/user_relationships_ui/user_relationships_ui.admin_actions.inc' for inclusion (include_path='.:/usr/local/php5/lib/php') dans user_relationship_blocks_block_configure() (ligne 132 dans /home/sw3b/www/www/sites/all/modules/user_relationships/user_relationship_blocks/user_relationship_blocks.module).
Comment #6
farhadhf CreditAttribution: farhadhf commentedI have this problem too,
user relations 7.x-1.0-alpha2
PHP 5.3.6 with Suhosin-Patch (cli) (built: Jun 1 2011 11:57:13)
Comment #7
Ingmar CreditAttribution: Ingmar commentedexactly the same over here
Comment #8
BerdirUpdated the patch, please test if everything works now.
Comment #9
BeaPower CreditAttribution: BeaPower commentedsub
Comment #10
BerdirCommited and pushed to 7.x-1.x