After clicking Review & Publish, it says:
Something went wrong on our end. Please try again in a moment.

the backtrace is as below:

#0 /var/www/html/web/modules/contrib/canvas/src/Tmgmt/ComponentInputsTranslatablesExtractor.php(277): assert()
#1 /var/www/html/web/modules/contrib/canvas/src/Tmgmt/ComponentInputsTranslatablesExtractor.php(243): Drupal\canvas\Tmgmt\ComponentInputsTranslatablesExtractor::isComponentInstanceInputs()
#2 /var/www/html/web/modules/contrib/canvas/src/Tmgmt/ComponentInputsTranslatablesExtractor.php(59): Drupal\canvas\Tmgmt\ComponentInputsTranslatablesExtractor->extractTranslatablesOptionallyIncludingEmpty()
#3 /var/www/html/web/modules/contrib/canvas_translate/src/Service/TranslatableFieldGlue.php(64): Drupal\canvas\Tmgmt\ComponentInputsTranslatablesExtractor->extractTranslatables()
#4 /var/www/html/web/modules/contrib/canvas_translate/src/Controller/ApiTranslateController.php(1239): Drupal\canvas_translate\Service\TranslatableFieldGlue->extractTranslatableData()
#5 /var/www/html/web/modules/contrib/canvas_translate/src/Controller/ApiTranslateController.php(1181): Drupal\canvas_translate\Controller\ApiTranslateController->stringsByKey()
#6 /var/www/html/web/modules/contrib/canvas_translate/src/Controller/ApiTranslateController.php(140): Drupal\canvas_translate\Controller\ApiTranslateController->addPercentages()
#7 [internal function]: Drupal\canvas_translate\Controller\ApiTranslateController->items()
#8 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#9 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(634): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext():121}()
#10 [internal function]: Drupal\Core\Render\Renderer::{closure:Drupal\Core\Render\Renderer::executeInRenderContext():634}()
#11 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(649): Fiber->resume()
#12 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext()
#13 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#14 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(183): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::onController():96}()
#15 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#16 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#17 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#18 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#19 /var/www/html/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#20 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(118): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#21 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(92): Drupal\page_cache\StackMiddleware\PageCache->pass()
#22 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#23 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#24 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(53): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#25 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(54): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#26 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(745): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#27 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#28 {main}

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fishfree created an issue. See original summary.

penyaskito’s picture

Status: Active » Postponed (maintainer needs more info)

This was a problem with canvas itself. Should be fixed in 1.8.0

https://git.drupalcode.org/project/canvas/-/work_items/3591734

Please verify once that's released (in a few hours hopefully)

penyaskito’s picture

lauriii’s picture

Status: Postponed (maintainer needs more info) » Active

  • lauriii committed d93f557c on 1.0.x
    fix: #3607284 AssertionError: assert(!$data instanceof...
lauriii’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.