6.3.0 Beta (2) - error occurring whilst working with parameters

Have come across the following error a couple times now whilst making quick successive changes to Global Parameters, especially working with groups and complex parameter setups.

[13-Jun-2023 15:09:57 UTC] PHP Fatal error:  Uncaught Exception: Class Themeco\Cornerstone\Util\PostMetaCache not found in /home/customer/www/rebuild.connexxions.uk/public_html/wp-content/themes/pro-beta/cornerstone/includes/classes/Util/IocContainer.php:82
Stack trace:
#0 /home/customer/www/rebuild.connexxions.uk/public_html/wp-content/themes/pro-beta/cornerstone/includes/classes/Util/IocContainer.php(70): Themeco\Cornerstone\Util\IocContainer->resolve('Themeco\\Corners...')
#1 [internal function]: Themeco\Cornerstone\Util\IocContainer->Themeco\Cornerstone\Util\{closure}('Themeco\\Corners...')
#2 /home/customer/www/rebuild.connexxions.uk/public_html/wp-content/themes/pro-beta/cornerstone/includes/classes/Util/IocContainer.php(69): array_map(Object(Closure), Array)
#3 /home/customer/www/rebuild.connexxions.uk/public_html/wp-content/themes/pro-beta/cornerstone/includes/classes/Util/IocContainer.php(86): Themeco\Cornerstone\Util\IocContainer->makeInstance('Themeco\\Corners...', Array)
#4 /home/customer/www/rebuild.connexxions.uk/public_html/wp-content/the in /home/customer/www/rebuild.connexxions.uk/public_html/wp-content/themes/pro-beta/cornerstone/includes/classes/Util/IocContainer.php on line 82

Have also noticed that fairly frequently the Parameters panel in the inspector pane will crash and show the ‘Uh oh’ message, needing to reload the Cornerstone tab to get it working again.

This is often because of interim invalid JSON whilst editing parameters. Is there already some check on validity before trying to process it? Is there a way to make it more safe and not try and render the parameters until it knows its is more valid?

Usually when I see the IocContainer issues it’s from a bad upload of the theme. I would try a reupload. You get this issue in the backend when editing in Cornerstone? Do you have a sample of the parameter I could at? There are checks in place, usually I don’t see the Uh Oh though, it will just go blank so it might be a specific parameter control. I did notice if you are using Dynamic Content in your parameters there won’t be as many checks so I can make sure it’s not as fragile here when editing parameters. Thanks!