An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /drupal/batch?id=10&op=do StatusText: OK ResponseText: Fatal error: Call to undefined function date_increment_round() in C:\xampp\htdocs\drupal\sites\all\modules\date\date.devel_generate.inc on line 32

Run into this error when generating content for a node that has a date field.

CommentFileSizeAuthor
#5 date_1054458.patch423 byteslevelos

Comments

salvis’s picture

Project: Devel » Date
Version: 7.x-1.0 » 7.x-1.x-dev
Component: devel_generate » Code

sites\all\modules\date\date.devel_generate.inc

I think this should go to the Date queue.

bryancasler’s picture

Thanks, wasn't sure

bryancasler’s picture

Version: 7.x-1.x-dev » 7.x-1.0-alpha2

Anyone else had this problem?

axolx’s picture

I ran into this one too. I grepped for the function in the project code but it doesn't look like it's there.

levelos’s picture

Status: Active » Needs review
StatusFileSize
new423 bytes

This simple patch takes care of the problem.

mdixoncm’s picture

Same problem here - patch in #5 fixed the issue perfectly.

chellman’s picture

Status: Needs review » Reviewed & tested by the community

Works here too, also via drush.

karens’s picture

I can't replicate the problem. The patch is probably fine, but I'd like to know why anyone is getting this error.

karens’s picture

Status: Reviewed & tested by the community » Fixed

It looks like there are a few times where that function is needed outside the process of generating forms, so I am going to move it into the Date API module. That should fix this problem.

Status: Fixed » Closed (fixed)

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