Hi All,

I am getting this error while upgrading website from drupal 6 to drupal 7.

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://mywebsite.com/update.php?op=selection&token=GGvqu0mQ8LvtSRkEdqe4B2ax020d0gNcPVf3qjcY_RU&id=83563&op=do StatusText: OK ResponseText: Fatal error: Call to undefined function field_delete_field() in /public_html/sites/all/modules/weight/weight.install on line 304

Anybody knows how to solve this fatal error ?
I have tried to get solution on forums. But no luck.

Thanks...
Monalisa

Comments

davisben’s picture

That is a core function. Could you verify that it exists in /modules/field/field.crud.inc?

monalisab’s picture

Hi Ben Davis,

Thank you for your reply.

Yes, I have checked this function and its exists in /modules/field/field.crud.inc file.
But still I don't know why I am getting Fatal error: Call to undefined function field_delete_field()... :(

davisben’s picture

Status: Active » Fixed

I just committed a fix to 7.x-2.x that checks if the field exists before trying to delete it. This should solve your problem.

monalisab’s picture

Thank You....

Status: Fixed » Closed (fixed)

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