your RL_Document library sometimes returns incorrect joomla version and articles anywhere disables itself. Same code is working fine in modulesanywhere, sourcerer and all your other plugins in my website, it's updated to the last joomla 4 version
Only way that could happen is if something is messing with the JVERSION constant in your Joomla setup.
Seems to me like something not quite right in your setup...