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?