Sometimes I had experienced with stuck warning message like you have, but function itself functioning fine. You can clean up the stuck warning message by yourself next way:
Navigate to storage account associated with with your Function App, then in Tables you can clear the error. Error format: "AzureFunctionsDiagnosticEventsDATEHERE"
If you clear the table and the error persists, then you did not fix the underlying problem. You can confirm this by checking the table for new records.