bernhard Posted January 17, 2024 Posted January 17, 2024 Hey @adrian or anybody else, could you please check if you also get an error when deleting templates from the admin tools? Deleting fields works properly. Ouch… Fatal Error: Uncaught TypeError: Fieldgroups::___delete(): Argument #1 ($item) must be of type Saveable, null given, called in wire/core/Wire.php on line 416 and defined in wire/core/Fieldgroups.php:312 #0 wire/core/Wire.php (416): Fieldgroups->___delete(NULL) #1 wire/core/WireHooks.php (968): Wire->_callMethod('___delete', Array) #2 wire/core/Wire.php (484): WireHooks->runHooks(Object(Fieldgroups), 'delete', Array) #3 site/modules/TracyDebugger/TracyDebugger.module.php(826): Wire->__call('delete', Array) #4 wire/core/ModulesLoader.php (168): TracyDebugger->init() #5 wire/core/ModulesLoader.php (100): ModulesLoader->initModule(Object(TracyDebugger)) #6 wire/core/Modules.php (338): ModulesLoader->triggerInit() #7 wire/core/ProcessWire.php (775): Modules->triggerInit() #8 wire/core/Wire.php (413): ProcessWire->___init() #9 wire/core/WireHooks.php (968): Wire->_callMethod('___init', Array) #10 wire/core/Wire.php (484): WireHooks->runHooks(Object(ProcessWire), 'init', Array) #11 wire/core/ProcessWire.php (909): Wire->__call('init', Array) #12 wire/core/ProcessWire.php (665): ProcessWire->__call('init', Array) #13 wire/core/ProcessWire.php (613): ProcessWire->setStatus(2) #14 wire/core/ProcessWire.php (315): ProcessWire->load(Object(Config)) #15 index.php (52): ProcessWire->__construct(Object(Config)) #16 {main} thrown (line 312 of wire/core/Fieldgroups.php) This error message was shown because: you are logged in as a Superuser. Error has been logged. Please let me know if you need more info to debug this or if that error is only on my end. Thx! 1
adrian Posted January 17, 2024 Posted January 17, 2024 Thanks @bernhard - should be fixed in the latest version. It looks like at some point PW starting deleting the fieldgroup along with the template automatically, hence the new error. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now