arsenaltech / nova-tab

Laravel Nova Tabs
74 stars 17 forks source link

TypeError: Cannot read property 'fields' of undefined - after Composer Update #29

Open jason-rudland opened 5 years ago

jason-rudland commented 5 years ago

I've been using tabs in my project for some time with no problem. I just added some functionality which caused me to do a Composer Update, which seems to have broken the Tabs package.

I get this error in the browser console when it tried to render the tabs:

TypeError: Cannot read property 'status' of undefined

I managed to get it working again after I rolled back the Composer Update, but I need to resolve this properly - I'm really stuck!

dtannen commented 5 years ago

@jason-rudland try my branch: { "type": "vcs", "url": "https://github.com/dtannen/nova-tab" },

working with latest version of Nova

jason-rudland commented 5 years ago

@jason-rudland try my branch: { "type": "vcs", "url": "https://github.com/dtannen/nova-tab" },

working with latest version of Nova

Thanks @dtannen - I've installed it, but I'm getting the following error: Class R64\NovaTab\NovaRequest does not exist.

Any ideas?

dtannen commented 5 years ago

@jason-rudland did you use the latest release 0.2.3?

"64robots/nova-tab":"^0.2.3"

jason-rudland commented 5 years ago

Thanks @dtannen - that fixed the error message, but now there are no fields in the tabs when i go into edit??

dtannen commented 5 years ago

@jason-rudland what version of Nova are you using?

jason-rudland commented 5 years ago

@dtannen I'm using Nova version 2.3.0