Hey!
I get this error when I try to save a translation:

Recoverable fatal error: Argument 2 passed to drupal_array_get_nested_value() must be an array, null given, called in */drupal/modules/field/field.form.inc on line 365 and defined i drupal_array_get_nested_value() (rad 6348 av */drupal/includes/common.inc).

I "translate" images... I wonder if it's that which makes the error.

Anyone had the same problem?

Comments

plach’s picture

Version: 7.x-1.0-alpha1 » 7.x-1.x-dev
Component: Code » Base system

Please, confirm this still exists in the latest dev.

plach’s picture

Status: Active » Postponed (maintainer needs more info)
lathan’s picture

we are having the same problem

here is a stack trace.

Recoverable fatal error: Argument 2 passed to drupal_array_get_nested_value() must be of the type array, null given, called in /Users/lathanbritz/Secure-sites/systemseed/pantheon_concern/modules/field/field.form.inc on line 394 and defined in drupal_array_get_nested_value() (line 6704 of /Users/lathanbritz/Secure-sites/systemseed/pantheon_concern/includes/common.inc). Backtrace:
drupal_array_get_nested_value(Array, NULL) field.form.inc:394
field_default_form_errors('commerce_product', Object, Array, Array, 'und', Array, Array, Array) field.attach.inc:209
_field_invoke('form_errors', 'commerce_product', Object, Array, Array, Array) field.attach.inc:385
_field_invoke_default('form_errors', 'commerce_product', Object, Array, Array, Array) field.attach.inc:859
field_attach_form_validate('commerce_product', Object, Array, Array) commerce_product.forms.inc:165
commerce_product_product_form_validate(Array, Array) form.inc:1471
form_execute_handlers('validate', Array, Array) form.inc:1411
_form_validate(Array, Array, 'commerce_product_ui_product_form') form.inc:1141
drupal_validate_form('commerce_product_ui_product_form', Array, Array) form.inc:847
drupal_process_form('commerce_product_ui_product_form', Array, Array) form.inc:374
drupal_build_form('commerce_product_ui_product_form', Array) form.inc:131
drupal_get_form('commerce_product_ui_product_form', Object) commerce_product_ui.products.inc:66
commerce_product_ui_product_form_wrapper(Object) 
call_user_func_array('commerce_product_ui_product_form_wrapper', Array) entity_translation.module:665
_entity_translation_callback('commerce_product_ui_product_form_wrapper', Array, Array) entity_translation.module:540
entity_translation_edit_page('commerce_product', Object, , Array, Object) 
call_user_func_array('entity_translation_edit_page', Array) menu.inc:517
menu_execute_active_handler() in
kenorb’s picture

stefan.r’s picture

I ran into this issue when using a bean with a translatable Link field, when "Validate URL" was turned on. As a workaround I disabled URL validation.

zakaria.elhariri’s picture

I had exactly the same prob
+1 https://www.drupal.org/node/1323278#comment-10862060
comment #5 it work for me !

hugronaphor’s picture

You can apply this patch until a solution will be found:
https://www.drupal.org/node/2666912#comment-11204309