Help Please! Game crashing when opening the Item Book!

Hello good people of the Rpg Maker forums 😛
I'm using the ItemBookEX plugin by Soulpour777 and for some reason it crashes every time I try to open it.
I've been trying to fix it for the past 2 hours but I haven't gotten any closer to fixing it...
Help please!
Thanks in advance!
~Mphi

Here's a picture of the console.
xRAdrKt.png
Hey there, I'm not the most skilled with those errors but to me it looks like it is looking in the img/titles1 folder of your project for the picture named Chapter1.png. Make sure that picture exists in your project database and is named properly ie. capital C in chapter. and it probably need to be of or near the same dimensions of the other pics in that folder. Hope this helps you out.
Hey there, I'm not the most skilled with those errors but to me it looks like it is looking in the img/titles1 folder of your project for the picture named Chapter1.png. Make sure that picture exists in your project database and is named properly ie. capital C in chapter. and it probably need to be of or near the same dimensions of the other pics in that folder. Hope this helps you out.

Hello,
Thanks so much for the reply 😛
The problem is though, it crashes for the item book menu.
The chapter 1 error I've had for a long time but never got around to fixing xD
It never crashes cause of that though so I ignore it most of the time xD
Thanks for the help!
Dang, I'm sorry about that I saw that part and figured it was connected. I just dl'd the plugin however and gave it a look. I get the exact same crash and couldn't get it to work either. I also use rmmv version 4.0.3 like you. I'm wondering if maybe the plugin isn't updated to that version. In the demo that comes with the plugin it all works correctly and the files like rpg manager.js are old, from 2015 so they aren't the newer updated ones that it's working off of. If this is the case you may have to use the regular item book for the time being.
link to plugin?
Here ya go Shaz,

https://soulxregalia.wordpress.com/2016/01/31/rmv-item-book-ex/
Please edit your directory names to follow networking rules.
Spaces are not allowed under networking rules - that is why they're replaced by %20 in the error messages, and any space like that can prevent the loading of any file.

That said, did you start a new game after installing that plugin? You have to start a new game after installing 95% of all plugins, and that goes double for plugins requiring complex setup.
If you don't start a new game but continue a saved game, the data is not correctly defined and it results in exactly those errors you have (cannot read property of NULL, because the data does not exist)
Thanks for all the help everyone!
I did start a new game but it didn't seem to work either xD
I think it's as Jeremiah said cause updates for the plugin have been discontinued for a while.

I'll just use a different item book plugin
Thanks a lot for all the help everyone!
It seems to be indicating that you have a null weapon. If the demo works for you but your own doesn't, then I'd expect there to be a null other than the first data element in your Weapons.json file. So it's not the plugin, but your database, that is causing the issue. The good news is you can make a small change to the plugin to cater for it.

Find the Window_ItemBookIndex.prototype.refresh function, starting on line 505. Replace the whole thing with the following:

Code:
    Window_ItemBookIndex.prototype.refresh = function() {
        var i, item;
        this._list = [];
        for (i = 1; i < $dataItems.length; i++) {
            item = $dataItems[i];
            if (item && item.name && (item.itypeId === 1 || item.itypeId === 2)) {
                if (!item.note.match(/<item book exclude>/)) {
                    this._list.push(item);
                }
            }
        }
        for (i = 1; i < $dataWeapons.length; i++) {
            item = $dataWeapons[i];
            if (item && item.name && !item.note.match(/<item book exclude>/)) {
                this._list.push(item);
            }
        }
        for (i = 1; i < $dataArmors.length; i++) {
            item = $dataArmors[i];
            if (item && item.name && !item.note.match(/<item book exclude>/)) {
                this._list.push(item);
            }
        }
        this.createContents();
        this.drawAllItems();
    };

I haven't tested this, but I believe it should work.

btw, 4.0.3 is the Pixi.js version, not the MV version. You get the MV version via Help > About. The latest is 1.4.1
Apologies Shaz
Ohhhhhhh
Thank you so much Shaz!
I have lots of blanks in my database to make things look organized xD
I'll go try it out right away
Thank you so much Shaz and Jeremiah and Andar!

Original thread: https://forums.rpgmakerweb.com/threads/help-please-game-crashing-when-opening-the-item-book.79587/