Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When you add a field in views as Link this field to its node, views display this error
* warning: Missing argument 1 for views_handler_field_node::render_link(), called in /var/www/prueba/sites/all/modules/editablefields/includes/views/editablefields_handler_field_node.inc on line 28 and defined in /var/www/test/sites/all/modules/views/modules/node/views_handler_field_node.inc on line 47.
* warning: Missing argument 2 for views_handler_field_node::render_link(), called in /var/www/prueba/sites/all/modules/editablefields/includes/views/editablefields_handler_field_node.inc on line 28 and defined in /var/www/test/sites/all/modules/views/modules/node/views_handler_field_node.inc on line 47.
to solve this error I changed the line 28 of file editablefields_handler_field_node.inc:
$data = parent::render_link();
by
$data = parent::render_link($data, $values);
Comments
Comment #1
joelpittetClosing this to triage the queue. Feel free to comment if you'd like this to be re-opened, though currently there is nobody supporting the 6.x branch.