have a error message when delete node:
Fatal error: Call to undefined function i18n_sync_node_delete_submit() in myproject/includes/form.inc on line 1478

CommentFileSizeAuthor
#9 i18n-node_delete-2209973.patch736 bytesjmaties
#6 node_delete.patch455 bytesjmaties
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nonom’s picture

I have the same issue trying to delete a node using /admin/content interface, when no translation options for that content type.

I'm using 7.x-1.10+9-dev.

vikicica22’s picture

I have the very same problem!

espurnes’s picture

Same problem here with 7.x-1.10+14-dev

PHP Fatal error: Call to undefined function i18n_sync_node_delete_submit() in mysite/includes/form.inc on line 1478, referer: http://mysite/ca/admin/content

juanjo_vlc’s picture

The same as @nonom at #2
I'm using 7.x-1.11 because of DRUPAL-SA-CONTRIB-2014-042 https://drupal.org/node/2248073, updated this morning.

I think this didn't happen with 7.x-1.10, so if a lot of users (60.000 as https://drupal.org/project/usage/2070589) upgrade to 1.11 this could be a big problem.

juanjo_vlc’s picture

I've just downgraded to 7.x-1.10 and now I can delete nodes from admin/content page

jmaties’s picture

FileSize
455 bytes

With this patch solves 7.x-1.11

jmaties’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 6: node_delete.patch, failed testing.

jmaties’s picture

FileSize
736 bytes

Generate a drupal patch with git

jmaties’s picture

Status: Needs work » Needs review

  • Commit 47b2384 on 7.x-1.x by Jose Reyero:
    Issue #2209973 by xiukun.zhou | jmaties: Fixed Fatal error: Call to...
Jose Reyero’s picture

Status: Needs review » Fixed

The patch is good.

(Some mess in the commit message, sorry about proper attribution, messed with this other issue #2267197: Fatal Error: Call to undefined function i18n_sync_node_delete_submit() in /includes/form.inc on line 1513)

Committed, thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

kristofferwiklund’s picture

I don't know if this is a good solution. The i18n_sync_node_delete_submit -function should remove the variable data for a content type if it is removed. So there is a missing functionality for it. Leaving old stuff in the database.

doitDave’s picture

Is there anything one can do to get this going? Or am I better off dropping i18n for cloned projects (where bulk-delete is a must-have, at some 100+ posts).

If I can assist, let me know. Or just release this as a workaround, nobody I know would want to run a dev snapshot running on a prod site.

No offence. And thanks for the - in any other regard - great module. This is the first issue blocking me, that's just why. :)

gabyyy’s picture

+1

working fine with the dev version

any chance to have this commited in a future stable release soon ?

Thanks

Anybody’s picture

Please create a new stable release ASAP, it completely breaks the stable branch and the patch works without any problems in the .dev version.

HELP!