В процессе боя юзер жмет очередной удар, и выдается:
Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 758
вот что содержится вокруг и около строки 758:
Код:
/**
* Check if the DM currently has errors. Will kill execution if it does and $die is true.
*
* @param bool Whether or not to end execution if errors are found; ignored if the error type is ERRTYPE_SILENT
*
* @return bool True if there *are* errors, false otherwise
*/
function has_errors($die = true)
{
if (!empty($this->errors))
{
if ($this->error_handler == ERRTYPE_SILENT OR $die == false)
{
return true;
}
else
{
trigger_error("Unable to proceed with save while \$errors array is not empty in class <strong>" . get_class($this) . "</strong>", E_USER_ERROR);
return true;
}
}
else
{
return false;
}
}
/**
отчего так?