Notice: String offset cast occured in _field_invoke_multiple() (line 322 of ..\modules\field\field.attach.inc). =>

Call trace:

_field_invoke_multiple()
_field_invoke_multiple_default()
field_view_field()
field_tokens()
call_user_func_array()
module_invoke_all()
token_generate()
token_tokens()
call_user_func_array()
module_invoke_all()
token_generate()
token_replace()
_auto_nodetitle_patternprocessor()
auto_nodetitle_set_title()
auto_nodetitle_node_presave()
call_user_func_array() (Array, 1 element)
module_invoke_all()
node_save()

Comments

bneel’s picture

I have the same error with php5.4.3 and not with php5.3.3-7

scatteredbrainV’s picture

Same problem here.
Any idea on how to solve?
Thanks!

maxnic’s picture

I'm newbie. I also had encountered the same notice message when using together with module "Computed Field" on the first time of creating a new content.

For example, there are two fields "Title" and "Title Number".
The field type of "Title Number" had set to "Computed". Like say the value is always set to 1.
So, I should expect my title should auto update to 1 but not. It showed blank with notice message.
However, after re-saved the content, the title had then updated to 1 with no notice message.

I suspect it failed to retrieve the value of "Title Number" at the first time. Maybe at the time being, there was no value.

Please assist. Thanks.

Alex Andrascu’s picture