MZ Conflict between Shora lighting and Rosedale fog

Hello!

I'm using these plugins:


When I run the game, it seems to work fine, however, when I open the menu or transfer maps, I get this error.
Any idea on how to fix this? I tried reordering them, and it didn't change anything.
Capture.JPG
Capture2.JPG
i took a peek into shora's plugin and i can see how it may be conflicting with chaucer's, but i cant really do much in terms of resolution without buying it.

maybe try loading this after shora's plugin?
Code:
(() => {
    var _updateIntensityFilter = Layer.prototype.updateIntensityFilter;
    Layer.prototype.updateIntensityFilter = function(spriteset, disable) {
        if (!spriteset._baseSprite.filters[0].setBrightness) return
        _updateIntensityFilter.call(this, spriteset, disable)
    }
})();
it should avoid calling the function entirely if that filter element isnt the kind of object of shora's lighting plugin is expecting. it might cause issues elsewhere though...
without buying it.
Since Chaucer is no longer with us, but I know you are skilled enough to be able to provide support, I can buy it for you if the fix you provided doesn't work.
Keep me updated!
Oh wow, thanks! That works perfectly! I'll let you know if I get any other errors, but it seems to be fine.

Original thread: https://forums.rpgmakerweb.com/threads/conflict-between-shora-lighting-and-rosedale-fog.178351/