Errors: Unable to get "permission key for write" and "permission key for view_edit_interface"
Permalink
On a custom block I am working on, I sometimes get these 2 errors (not at the same time though):
[code]
Unable to get permission key for write
Unable to get permission key for view_edit_interface
[code]
I sometimes get the first one and sometimes the second one. I've noticed them occurring when I try editing the block immediately after saving it. If I wait for a few seconds for the second edit, I haven't noticed these errors. Is it happening because I was too quick to edit the block before it has finished writing to the database or is there something else I need to consider in my block's code?
[code]
Unable to get permission key for write
Unable to get permission key for view_edit_interface
[code]
I sometimes get the first one and sometimes the second one. I've noticed them occurring when I try editing the block immediately after saving it. If I wait for a few seconds for the second edit, I haven't noticed these errors. Is it happening because I was too quick to edit the block before it has finished writing to the database or is there something else I need to consider in my block's code?