Neaples
Account created on 1 March 2021, over 3 years ago
#

Recent comments

🇮🇹Italy drp_distruptor Neaples

Hi @sourav_paul, thanks for your answer. Maybe I'm missing something, but @rajab-natshah made the changes to the version compatibility after this issue, or not?

🇮🇹Italy drp_distruptor Neaples

Thanks to rajab natshah for making the changes to the version compatibility of Drupal core for the project. I agree with you about upgrading the core to the latest version available (in some cases, I cannot make this).

sourav_paul as I said, I tested the version 2.1.5 on Drupal 10.3.5 (not the 2.2.x). Anyway, I see that yesterday (Rome) released a new version, I will try it on both of my cases.

🇮🇹Italy drp_distruptor Neaples

Hi, the problem is the second value of the filter;
change the third input on line 229 on file: modules/views_json_query/views_json_query_plugin_query_json.inc

$check = $this->ops($filter[1], $l, $view->exposed_data[$filter[0]]);

🇮🇹Italy drp_distruptor Neaples

#2: my Drupal version is this:

The version 2.1.5 of this module cause me an error on Drupal 10.3.5;
while the version 2.1.3 cause the same error on Drupal 10.2.7;

The website encountered an unexpected error. Try again later.

Error: Class "Drupal\Core\Render\Element\RenderElementBase" not found in include() (line 12 of modules/contrib/bootstrap_layout_builder/src/Element/ContainerWrapper.php).

Composer\Autoload\{closure}('/app/web/modules/contrib/bootstrap_layout_builder/src/Element/ContainerWrapper.php') (Line: 427)
Composer\Autoload\ClassLoader->loadClass('Drupal\bootstrap_layout_builder\Element\ContainerWrapper')
class_exists('Drupal\bootstrap_layout_builder\Element\ContainerWrapper') (Line: 96)
Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass('blb_container_wrapper', Array, 'Drupal\Core\Render\Element\ElementInterface') (Line: 17)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('blb_container_wrapper', Array) (Line: 83)
Drupal\Component\Plugin\PluginManagerBase->createInstance('blb_container_wrapper', Array) (Line: 166)
Drupal\Core\Render\ElementInfoManager->createInstance('blb_container_wrapper') (Line: 135)
Drupal\Core\Render\ElementInfoManager->buildInfo('italiagov') (Line: 91)
Drupal\Core\Render\ElementInfoManager->getInfo('inline_template') (Line: 356)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 61)
__TwigTemplate_fc0c99dc371d9abb47e7cdae4db44138->doDisplay(Array, Array) (Line: 393)
Twig\Template->yield(Array, Array) (Line: 349)
Twig\Template->display(Array) (Line: 364)
Twig\Template->render(Array) (Line: 35)
Twig\TemplateWrapper->render(Array) (Line: 39)
twig_render_template('core/modules/node/templates/field--node--title.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240)
Drupal\Core\Render\Renderer->render(Array) (Line: 110)
Drupal\Core\Entity\Controller\EntityViewController->buildTitle(Array)
call_user_func_array(Array, Array) (Line: 111)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 859)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 238)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 68)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 49)
Drupal\remove_http_headers\StackMiddleware\RemoveHttpHeadersMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
🇮🇹Italy drp_distruptor Neaples

Applying the patch of this link 🐛 Empty layout sections get rendered Needs work for Bootstrap Layout Builder seems not to work.

Again, all the patches attached to this issue are not applied on my Drupal 9.5.10 instance; so I found a workaround for blb-container-wrapper.html.twig template:

{% if children|render|raw|striptags|spaceless is not empty %}
    <div {{ attributes }}>{{ children }}</div>
{% endif %}
🇮🇹Italy drp_distruptor Neaples

Yes, I confirm that what @yospyn said is correct. I personally applied the patch reported in the #4 🐛 Live Preview has issues with Media Background Fixed comment.

🇮🇹Italy drp_distruptor Neaples

The issue depends on media_library_form_element , you can try this patch: https://www.drupal.org/project/media_library_form_element/issues/3277273#comment-14886716 🐛 Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated Fixed

🇮🇹Italy drp_distruptor Neaples

Same issue that seems to be related to Bootstrap Styles ^1.1 ;
this patch can help!

🇮🇹Italy drp_distruptor Neaples

With the new version 4.3.3, the issue seems solved by removing the prefix from the settings.local.php

$databases['default']['default'] = [
    'database' => '###',
    'username' => '###',
    'password' => '###',
    <strong>'prefix' => '',</strong>
    'encrypt' => '0',
    'host' => '###',
    'port' => '1433',
    'namespace' => 'Drupal\\sqlsrv\\Driver\\Database\\sqlsrv',
    'driver' => 'sqlsrv',
    'autoload' => 'modules/contrib/sqlsrv/src/Driver/Database/sqlsrv',
];

By the way, you should be sure that the default schema is dbo on your user and database.

Production build 0.71.5 2024