doublesecretagency / craft-spoon

Spoon plugin for Craft CMS - Enhance your Matrix fields with groups, tabs and more!
Other
83 stars 7 forks source link

Can't access the plugin settings #88

Closed G17creative closed 4 years ago

G17creative commented 4 years ago

Hi, we added a new super table field inside our matrix field and went to add through the settings of the plugin and got the following error:

Twig Runtime Error – Twig\Error\RuntimeError Key "superTableBlockType:6b3b6525-20d0-4d9d-a4ef-1fd439049309" for array with keys "superTableBlockType:a19a9ad1-5449-4dd3-bc8d-c488c39aa595, superTableBlockType:73a83adf-97b5-4f27-bf35-fcfcbaaa58f2" does not exist.

it's coming from vendor/angellco/spoon/src/templates/edit-global-context.html, line 24: {% set fieldData = superTableFields[field.context] %}

joshangell commented 4 years ago

Could you try clearing your caches and trying again? Sorry, I can’t reproduce this at the moment.

Also please let me know what Craft, Spoon and PHP versions are you using.

G17creative commented 4 years ago

Just cleared all the CMS caches and all browser cookies and still getting the error. Tried uninstalling and removing the plugin too.

PHP: 7.2.20 Craft: Pro 3.4.4.1 Spoon: 3.5.1

joshangell commented 4 years ago

OK thanks, I’ve just pushed an update that doesn’t directly address this but might affect it, I’m not sure. Could you update and try again for me?

Thanks, and sorry for the faff!

G17creative commented 4 years ago

Hi Josh, sorry still getting the same error message.

Can you see any issues if I delete the Spoon blocktype table from the database?

joshangell commented 4 years ago

Hey, sorry for the delay.

If you update to the latest version and then uninstall and reinstall the plugin it should remove the block types from your project config which I think is what’s causing the issue.

Try that and let me know, I’m still unable to reproduce this unfortunately!

On Tue, 11 Feb 2020 at 10:54, G17creative notifications@github.com wrote:

Hi Josh, sorry still getting the same error message.

Can you see any issues if I delete the Spoon blocktype table from the database?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/angell-co/Spoon/issues/88?email_source=notifications&email_token=AADCV64AUKO4V2FALS4RYZTRCJ7VJA5CNFSM4KQ563E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELL7LTI#issuecomment-584578509, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADCV63ZYN2JC5JE54QBVKLRCJ7VJANCNFSM4KQ563EQ .

-- -Josh angell.io - specialist Craft CMS development and consultancy

joshangell commented 4 years ago

Hey - there have been some fixes to project config stuff today that may affect this, I’m going to close the issue for now but please do re-open it if you are still seeing the error.