I have background process installed on a fairly complex site, using a number of modules (including Ultimate_Cron).

In my recent log messages I have literally pages and pages of php warnings:

Warning: set_time_limit() expects parameter 1 to be long, string given in background_process_service_start() (line 415 of /var/sites/drupal/sites/all/modules/background_process/background_process.module).

Is/can this be by virtue of anything I have done, or do others get it, and is there any way to combat it..? It's making monitoring for other warnings and errors a real problem.

Comments

gielfeldt’s picture

Sounds like you might have accidentally entered something non-numeric into the "Service timeout" field on the settings page. It must be a numerical value without spaces, and the field must not be blank (use a 0 (zero) instead).

srlawr’s picture

Status: Active » Closed (works as designed)

Such a simple solution... and yet it makes you a god to my logs. My service timeout was indeed blank.

Cheers Gielfeldt. I can close this as "works".

One supposes ideally there could/would be some validation against that field being invalid (though the field description does indicate expected input, I needed to RTFM)