verbb / field-manager

Field Manager is a Craft CMS plugin to make it easy to manage your fields and field groups.
MIT License
199 stars 16 forks source link

New field never loads in 2.0.3 #54

Closed tidy closed 5 years ago

tidy commented 6 years ago

Description

Since upgrading to v2.0.3 on Craft 3, when I click the 'new field' button in the top right, the pop-up content never loads (the loading icon just spins forever)

Additional info

matthisamoto commented 6 years ago

I am also having this issue. Errors posted below:

console errors:

POST [url]/index.php?p=admin/actions/field-manager/base/get-field-modal-body 500 (Internal Server Error)

field-manager.js:353 Uncaught TypeError: Cannot read property 'success' of null
    at s.constructor.<anonymous> (field-manager.js:353)

server error:

{"error":"Argument 1 passed to craft\\services\\Fields::getFieldById() must be of the type integer, string given, called in [path]/vendor/verbb/field-manager/src/controllers/BaseController.php on line 80"}
engram-design commented 5 years ago

Fixed in 2.0.4