There is an oil temperature sensor on the engine that may be failing. If you look below, I attached the removal and installation procedures for you.
Before replacing it, check to make sure there is no damage to the wiring or the connector. Make sure the connector fits tight as well.
Let me know if this helps or if you have other questions.
See pics below.
Images (Click to enlarge)
Monday, December 5th, 2022 AT 8:13 PM