In Openhab 3, when rules are reloaded I’m getting:
2021-01-06 14:24:57.612 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘default.rules’
2021-01-06 14:25:10.630 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model ‘default.rules’, using it anyway:
Type cannot be derived
This is a warning not an error so the rule probably is working as it should.
The warning is telling you that you have a variable somewhere that is defined in such a way that it cannot determine what type of Object it represents. For example
var myTimer = null
There is nothing there to tell the parser what type myTimer is. The correct way to define it would be
var Timer myTimer = null
That tells the parser that myTimer is of type Timer.