MZ TypeError using FOSSIL in a new game.

I made a new test game to try out some plugins, but when I added the FOSSIL plugin, the game fails to load and gives this error message. This happens regardless of any other plugins added or enabled. The weird thing is FOSSIL works in my older games just fine, and I have no idea what the error message means or how to fix it. If anyone knows a solution or what's causing this error, please let me know.

1741901056766.png
1741901259140.png

Here is a link to the FOSSIL plugin: https://forums.rpgmakerweb.com/inde...-plugins-in-mz-300-plugins-fossilized.135523/
so far I know, it require to edit the "index.html" as well I believe
in order to make it work.

should be in the helpfile or download page.

but I only recommend it if there is no MZ plugin for what your need.
as there are ports from MV to MZ or nice alternative to get close or same
effect that you need.
This is due to icon changes in MZ 1.9.0.

The thread you linked contains a solution:

take the last page for a shared FOSSIL that has more fixes.
so far I know, it require to edit the "index.html" as well I believe
in order to make it work.

should be in the helpfile or download page.

but I only recommend it if there is no MZ plugin for what your need.
as there are ports from MV to MZ or nice alternative to get close or same
effect that you need.
I do plan on using both MV and MZ plugins.

I opened the "index.html" file in Notepad++ and this is what it looks like. I have no coding experience so I'm not sure what needs to be edited.
1741902190678.png
it says this around the bottom of the helpfile (mobile/web/deployed)
Code:
If you want to edit the index.html yourself directly, just replace

'main.js'

with

'plugin/FOSSIL.js'

Basically I replace 'main.js' in index.html with 'FOSSIL.js' so I can
control when plugins are added.

so you can try this though, and your mainly good to go.
I deleted the old FOSSIL.js and replaced it with the new one, and now the games work again.

Thank you guys so much!

This is due to icon changes in MZ 1.9.0.

The thread you linked contains a solution:

Original thread: https://forums.rpgmakerweb.com/threads/typeerror-using-fossil-in-a-new-game.176211/