Thank you for confirming that the lines are the same in your Task.php file. Please can you run the following query in your CMS database and confirm the output?
describe `task`;
This guides explains how to run commands against your database when using a docker based installation: