πŸ‡ΊπŸ‡ΈUnited States @plato1123

Account created on 13 March 2009, over 15 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States plato1123

Actually that contrib module does the trick, there was an option for the contrib module I had missed, allow users to "[ ] Publish and unpublish via checkbox".  Woohoo!

πŸ‡ΊπŸ‡ΈUnited States plato1123

In my case if I go to "manage display" for the content type and disable/hide the entity reference field the error goes away. The entity reference is using "autocomplete" and goes to a taxonomy term using the "Default" reference method.

πŸ‡ΊπŸ‡ΈUnited States plato1123

Having this problem with Radix too.

JsonSchema\Exception\InvalidArgumentException: Unable to encode schema array as JSON: Recursion detected in JsonSchema\Constraints\BaseConstraint::arrayToObjectRecursive() (line 143 of /app/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/BaseConstraint.php).

#0 /app/web/core/lib/Drupal/Core/Theme/Component/ComponentValidator.php(168): JsonSchema\Constraints\BaseConstraint::arrayToObjectRecursive(Array)
#1 /app/web/core/lib/Drupal/Core/Template/ComponentsTwigExtension.php(127): Drupal\Core\Theme\Component\ComponentValidator->validateProps(Array, Object(Drupal\Core\Plugin\Component))
#2 /app/web/core/lib/Drupal/Core/Template/ComponentsTwigExtension.php(109): Drupal\Core\Template\ComponentsTwigExtension->doValidateProps(Array, 'radix:table')
#3 /app/web/sites/default/files/php/twig/67240bf11ea89_radix:table_4PZKCh15oUHzeCf2xm0OEi8YR/WLnEiLfiC0Cur8N-Ukx7ffndasfSTjht-WGN_2hVa0s.php(51): Drupal\Core\Template\ComponentsTwigExtension->validateProps(Array, 'radix:table')
#4 /app/vendor/twig/twig/src/Template.php(393): __TwigTemplate_a127c9ba4bbea91988db2aeb570ccdb8->doDisplay(Array, Array)
#5 /app/web/sites/default/files/php/twig/67240bf11ea89_table.html.twig_SPCn8rAg4ZXvnQ7Is2CPdFRhf/ez73NhjRatpgM8YBuIX6ufYeswDIJNlEu6foCbMPa2o.php(44): Twig\Template->yield(Array)
#6 /app/vendor/twig/twig/src/Template.php(393): __TwigTemplate_ac01de880e7516bacf4a37257cbb9a87->doDisplay(Array, Array)
#7 /app/vendor/twig/twig/src/Template.php(349): Twig\Template->yield(Array, Array)
#8 /app/vendor/twig/twig/src/Template.php(364): Twig\Template->display(Array)
#9 /app/vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array)
#10 /app/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render(Array)
#11 /app/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('themes/custom/B...', Array)
#12 /app/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render('table', Array)
#13 /app/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#14 /app/web/core/lib/Drupal/Core/Template/TwigExtension.php(476): Drupal\Core\Render\Renderer->render(Array)
#15 /app/web/sites/default/files/php/twig/67240bf11ea89_field-multiple-value-form_xRADZClSEqOeZoXPBJjwzuClW/T4sQc94sSB8LcPu-cgu-y1Yx6b2o8xHYMd1ZaD1GiWQ.php(55): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#16 /app/vendor/twig/twig/src/Template.php(393): __TwigTemplate_c17c005783c7b91e80f8efeb56f62bd1->doDisplay(Array, Array)
#17 /app/vendor/twig/twig/src/Template.php(349): Twig\Template->yield(Array, Array)
#18 /app/vendor/twig/twig/src/Template.php(364): Twig\Template->display(Array)
#19 /app/vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array)
#20 /app/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render(Array)
#21 /app/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('core/modules/sy...', Array)
#22 /app/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render('field_multiple_...', Array)
#23 /app/web/core/lib/Drupal/Core/Render/Renderer.php(504): Drupal\Core\Render\Renderer->doRender(Array)
#24 /app/web/core/lib/Drupal/Core/Render/Renderer.php(504): Drupal\Core\Render\Renderer->doRender(Array)
#25 /app/web/core/lib/Drupal/Core/Render/Renderer.php(504): Drupal\Core\Render\Renderer->doRender(Array)
#26 /app/web/core/lib/Drupal/Core/Render/Renderer.php(504): Drupal\Core\Render\Renderer->doRender(Array)
#27 /app/web/core/lib/Drupal/Core/Render/Renderer.php(504): Drupal\Core\Render\Renderer->doRender(Array)
#28 /app/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#29 /app/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(238): Drupal\Core\Render\Renderer->render(Array, false)
#30 /app/web/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#31 /app/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(231): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#32 /app/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(128): Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#33 /app/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#34 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#35 /app/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#36 /app/vendor/symfony/http-kernel/HttpKernel.php(186): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#37 /app/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#38 /app/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#39 /app/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#40 /app/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#41 /app/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#42 /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#43 /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#44 /app/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#45 /app/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#46 /app/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#47 /app/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#48 /app/web/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#49 /app/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#50 {main}

πŸ‡ΊπŸ‡ΈUnited States plato1123

Thanks for posting this! Would have never figured it out without you! Cheers

πŸ‡ΊπŸ‡ΈUnited States plato1123

Really confused on this one, .mysql backups generated by backup/migrate are 5.2mb (and corrupt). Backups generated by drush are 19mb.

Maybe this module isn't compatible with php 8.2??

πŸ‡ΊπŸ‡ΈUnited States plato1123

Apologies, is there a place I can pull the full code I need to test this or do I need to pull and then apply successive patches? Thanks!

πŸ‡ΊπŸ‡ΈUnited States plato1123

Ok, let me dig through your comments & code a little deeper and maybe I can provide some feedback. Thanks!

πŸ‡ΊπŸ‡ΈUnited States plato1123

Just curious if this has been implemented in any current release? I also am struggling with how to make this work as a contextual filter. Thanks!!

πŸ‡ΊπŸ‡ΈUnited States plato1123

Hmmm well I thought that had fixed it an indeed now it works when viewing non admin pages of the site, but on admin pages I still get the please refresh message. If I look in the console I see

GET https://mysite.lndo.site/admin/admin/coffee/get-data 404 (Not Found)

πŸ‡ΊπŸ‡ΈUnited States plato1123

Oh! The coffee config did indeed disappear into the abyss somehow. Can fix with uberengineer's recommendation above or as I did by copying config from the coffee install folder and then config import...

cp docroot/modules/contrib/coffee/config/install/coffee.configuration.yml config/sync;lando drush cim

πŸ‡ΊπŸ‡ΈUnited States plato1123

Tried coffee 1.2 and 1.1 as well, same issue.

On status report page I see a few issues I don't think are related but here they are...

Blazy Not enabled: Use theme_blazy()

Entity/field definitions
Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Content
The node.field_display_title field needs to be updated.
Taxonomy term
The taxonomy_term.field_display_title field needs to be updated.

Slick library not installed
The Slick library should be installed at /libraries/slick-carousel/slick/slick.min.js, or /libraries/slick/slick/slick.min.js, or any path supported by libraries.module if installed. Check out file or folder permissions if troubled.

Not enabled
The trusted_host_patterns setting is not configured in settings.php. This can lead to security vulnerabilities. It is highly recommended that you configure this. See Protecting against HTTP HOST Header attacks for more information.

πŸ‡ΊπŸ‡ΈUnited States plato1123

Absolutely infuriating the degree to which there is built-in html correction that can't be turned off. Even with "raw input" filter I can't for example have an unclosed div as a header

and the closing div in the footer

to do an extra div wrapper. Overengineered to the point it's broken, sadly :'(

πŸ‡ΊπŸ‡ΈUnited States plato1123

Just to confirm, there is a problem even when this node has already been saved. This breaks the ability to preview and instead of seeing a preview the editor sees the last saved copy. What's more there is no error message but the preview is broken. Because there was no error it took quite some time to track this problem down to twigtweak.

PS it seems like in this circumstance I can get away with using
{{ content.body }}
and
{{ content.field_announcement }}

Thanks so much for your help!!!

πŸ‡ΊπŸ‡ΈUnited States plato1123

Tracked the issue down an issue with twigtweak

πŸ‡ΊπŸ‡ΈUnited States plato1123

That's a nifty contrib module but unfortunately preview doesn't work with that either, one content type only of 18 different content types does not allow preview (shows current content instead) and doesn't show any errors in the logs.  

πŸ‡ΊπŸ‡ΈUnited States plato1123

Looks like there's still no way to render the body field of the current node?

I'm using a barrio based theme...
{{ node.body.value|raw }} strips out embedded media entities for some reason...
{{ content.body.0 }} <-- none of the content ones work in my template for some reason

And twigtweak can't render the body field either it seems like. I'm surprised {{ drupal_field('body', 'node') }} isn't a thing...

πŸ‡ΊπŸ‡ΈUnited States plato1123

Creating a new piece of content of this content type still does not allow previewing.

πŸ‡ΊπŸ‡ΈUnited States plato1123

Some more details:
PHP 7.4.33
Drupal 7.91
Hosting: Siteground

I updated token and then was able to change the backup compression to zip instead of gzip. Gzip is still corrupted I'm not sure why, but at least we can be reasonably sure we have backups that are available.

You can close this request, thanks!

πŸ‡ΊπŸ‡ΈUnited States plato1123

Can confirm was able to work around the issue with composer require commerceguys/addressing:1.3.0 drupal/address

(we're not using drupal commerce in this site so was initially confused)

Production build 0.71.5 2024