Sorry guys for the long delay! I just uploaded 1.1.39 with a fix.
Thank you to yavis1231 for picking up my slack and providing a temporary fix! I owe you one!
TexugoMaldito correctly surmised the issue:
The devs removed a Debug library, and ironically, the mod has a line to IGNORE this library, but now this library doenst exist and the mod is trying to ignore something that doesnt exist...
The library file in question (profiler.lua) is a third party library I used in previous versions when testing performance. The wonderful devs at Wube have since provided much more refined profiling tools of their own, and as such I have not used the library in some time. In the newest version, I have deleted the library and all references to it from the mod.
Regarding the AI discussion...
The AI's fix does work and is harmless as TexugoMaldito said. However, Mobius1 also had a very good point about the AI's lack of context. The fix only worked because I no longer used the library in question in any part of the code except to import it during the mod's initialization. With the changes the AI made, the Profiler class would be completely broken and would crash the game if called to do anything. Glendening's alternative fix is much safer and is essentially what I ended up doing.
Lastly, thanks for using my mod and being part of the Factorio modding community! I know you could have easily just wrote my mod off (as I'm sure many did), but I'm thankful that you all were willing to put in the effort to troubleshoot it instead despite my irresponsible lack of response to this major issue. I hope I'm able to continue being a part of this wonderful community!