WSOD with canvas_translate due to malformed href value in 'Page not found' page
Until I made this fix, canvas_translate did not work (had a 500 error visible in the console):
```
The website encountered an unexpected error. Try again later.
_TypeError_: Drupal\\canvas\\Tmgmt\\ComponentInputsTranslatablesExtractor::extractTranslatables(): Argument #2 ($config_data) must be of type array, string given, called in /var/www/html/web/modules/contrib/canvas/src/Tmgmt/ComponentInputsTranslatablesExtractor.php on line 247 in _Drupal\\canvas\\Tmgmt\\ComponentInputsTranslatablesExtractor->extractTranslatables()_ (line _38_ of _modules/contrib/canvas/src/Tmgmt/ComponentInputsTranslatablesExtractor.php_).
Drupal\\canvas\\Tmgmt\\ComponentInputsTranslatablesExtractor-\>extractTranslatablesOptionallyIncludingEmpty() (Line: 129) Drupal\\canvas\\Tmgmt\\ComponentInputsTranslatablesExtractor-\>extractTranslatables() (Line: 64) Drupal\\canvas_translate\\Service\\TranslatableFieldGlue-\>extractTranslatableData() (Line: 1239) Drupal\\canvas_translate\\Controller\\ApiTranslateController-\>stringsByKey() (Line: 1181) Drupal\\canvas_translate\\Controller\\ApiTranslateController-\>addPercentages() (Line: 140) Drupal\\canvas_translate\\Controller\\ApiTranslateController-\>items() call_user_func_array() (Line: 123) Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber-\>{closure:Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext():121}() (Line: 638) Drupal\\Core\\Render\\Renderer::{closure:Drupal\\Core\\Render\\Renderer::executeInRenderContext():638}() Fiber-\>resume() (Line: 653) Drupal\\Core\\Render\\Renderer-\>executeInRenderContext() (Line: 121) Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber-\>wrapControllerExecutionInRenderContext() (Line: 97) Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber-\>{closure:Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber::onController():96}() (Line: 183) Symfony\\Component\\HttpKernel\\HttpKernel-\>handleRaw() (Line: 76) Symfony\\Component\\HttpKernel\\HttpKernel-\>handle() (Line: 53) Drupal\\Core\\StackMiddleware\\Session-\>handle() (Line: 30) Drupal\\Core\\StackMiddleware\\KernelPreHandle-\>handle() (Line: 28) Drupal\\Core\\StackMiddleware\\ContentLength-\>handle() (Line: 32) Drupal\\big_pipe\\StackMiddleware\\ContentLength-\>handle() (Line: 118) Drupal\\page_cache\\StackMiddleware\\PageCache-\>pass() (Line: 92) Drupal\\page_cache\\StackMiddleware\\PageCache-\>handle() (Line: 48) Drupal\\Core\\StackMiddleware\\ReverseProxyMiddleware-\>handle() (Line: 51) Drupal\\Core\\StackMiddleware\\NegotiationMiddleware-\>handle() (Line: 61) Drupal\\Core\\StackMiddleware\\AjaxPageState-\>handle() (Line: 54) Drupal\\Core\\StackMiddleware\\StackedHttpKernel-\>handle() (Line: 753) Drupal\\Core\\DrupalKernel-\>handle() (Line: 34) Symfony\\Component\\Runtime\\Runner\\Symfony\\HttpKernelRunner-\>run() (Line: 32) require('/var/www/html/vendor/autoload_runtime.php') (Line: 22) require_once('/var/www/html/web/autoload_runtime.php') (Line: 13)
```
I had no idea what is this related to so made some changes to get debug values from Canvas. I submitted an MR for that to Canvas at https://git.drupalcode.org/project/canvas/-/merge_requests/1346 since this would help a lot in the future to debug exported data problems.
That told me much better info:
`TypeError: Canvas translatable extraction failed for component "sdc.haven_theme.button" (version: "0e9e84d691ccddc4", uuid: "3381af04-f8cb-4140-bec5-a0cadf2a8acf") at base key "": Expected nested config data at ".href" to be an array, got string (value: '/'). in Drupal\canvas\Tmgmt\ComponentInputsTranslatablesExtractor->extractTranslatables() (line 126 of modules/contrib/canvas/src/Tmgmt/ComponentInputsTranslatablesExtractor.php).`
The button with a wrong href was in the 'Page not found' page. Once I made this fix, I finally have a canvas_translate UI to appear for Haven (first time ever!)
{width=575 height=600}
issue