MyBB Community Forums

Full Version: [F] invalid argument for add_task_log()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The add_task_log() function expects an array for the first argument, but these two calls don't give it one:

File /inc/functions_task.php, function run_task

add_task_log($task['id'], $lang->missing_task);

File /inc/class_error.php, function error

add_task_log($task['id'], "{$this->error_types[$type]} - [$type] ".var_export($message, true)."{$filestr}");
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.