Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
bneel CreditAttribution: bneel commentedI have the same error with php5.4.3 and not with php5.3.3-7
Comment #2
scatteredbrainV CreditAttribution: scatteredbrainV commentedSame problem here.
Any idea on how to solve?
Thanks!
Comment #3
maxnic CreditAttribution: maxnic commentedI'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.
Comment #4
Alex Andrascu CreditAttribution: Alex Andrascu commentedRelated to #1824820: String offset cast notice in field_invoke_method_multiple() ?
Comment #5
gaurav.kapoor CreditAttribution: gaurav.kapoor commented