Account created on 8 July 2012, almost 13 years ago
#

Merge Requests

Recent comments

🇬🇪Georgia almador

For me, the combination of:
- custom module from #3;
- using the Format "Boostrap table" #6 with an added hidden field from (and sorting the table by this hidden field).
solved the problem with duplicates in View of content and paragraph as a relationship.

Also, I tried the patch from #117, both with Distinct on and off, but I can't find the difference.

I'm using Drupal 10.3.10, btw.

🇬🇪Georgia almador

@maxilein you could apply the patch from this diff:
https://git.drupalcode.org/project/charts/-/merge_requests/130.diff

Short instruction (if needed)::
First, download it to your site's root patches folder. (for example /var/www/patches/130.diff)

After that:
composer require cweagans/composer-patches

and add a patch at the bottom of the composer.json "extra" section

"extra": {
  "enable-patching": true,
    "patches": {
      "drupal/charts": {
        "Issue #3499637: Undefined array key connect_nulls": "patches/130.diff"}
    } 
🇬🇪Georgia almador

After updating the Charts from 5.1.0 to 5.1.2 I noticed a similar problem:

Warning: Undefined array key "connect_nulls" in Drupal\charts\Plugin\views\style\ChartsPluginStyleChart->render() (line 336 of /var/www/html/modules/contrib/charts/src/Plugin/views/style/ChartsPluginStyleChart.php)

here is the related part of the code:

      '#connect_nulls' => $chart_settings['display']['connect_nulls'],
🇬🇪Georgia almador

Yes, I can confirm that the patch provided by @joseph.olstad resolves the problem.
Again, thank you for doing a lot to make it work!

🇬🇪Georgia almador

Thank you so much,@ Joseph!

I followed your instructions and successfully applied 2 patches, at least I can now clear caches from Drupal admin interface without errors!

Here are my steps (if someone want to repeat them):
1. composer require 'drupal/layout_builder_st:1.x-dev@dev'

2. I applied the patch in composer.json

"drupal/layout_builder_st": {
"Issue #3069964: Argument 1 passed to Drupal.. must implement interface Drupal null given": "https://www.drupal.org/files/issues/2025-01-02/3069964-null-fix.patch"}

3. I downloaded https://git.drupalcode.org/project/layout_builder_st/-/merge_requests/16... to my patches folder and renamed it to 16.patch.

4. I added the new patch in composer.json (now we have 2 patches):

"drupal/layout_builder_st": {
"Issue #3069964: Argument 1 passed to Drupal.. must implement interface Drupal null given": "https://www.drupal.org/files/issues/2025-01-02/3069964-null-fix.patch",
"Issue #3431600: Automated Drupal 11 compatibility fixes for layout_builder_st":"16.patch"
}

5. composer install

🇬🇪Georgia almador

Are there any updates on this?

I'm using the layout_builder_st module, but the core solution should be more acceptable.

🇬🇪Georgia almador

If I'm applying only 2 first patches (without the patch from this topic):

"drupal/layout_builder_st": {
"Issue #3420063: Error: Call to a member function getConfig() OverridesSectionStorage.php": "https://www.drupal.org/files/issues/2024-03-29/layout_builder_st-call_to_a_member_function_getconfig-3420063-26.patch",
"Issue #3069964: Argument 1 passed to Drupal.. must implement interface Drupal null given": "https://www.drupal.org/files/issues/2019-07-24/isTranslation-null-given.patch"
},

I'm receiving this error:
Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "class_resolver", path: "string_translation -> string_translator.locale.lookup -> config.factory -> config.typed -> class_resolver -> entity_type.manager". in Drupal\Component\DependencyInjection\Container->get() (line 149 of core/lib/Drupal/Component/DependencyInjection/Container.php).

🇬🇪Georgia almador

Hi, Joseph and thank you for your efforts!

AFAIU, it's not the final version yet?

Tried both diff and patch in my local environment, they are not applying cleanly:
https://git.drupalcode.org/project/layout_builder_st/-/merge_requests/16...
https://git.drupalcode.org/project/layout_builder_st/-/merge_requests/16...

🇬🇪Georgia almador

Could someone clarify if using the MR!10504 is enough to replace the Layout Builder Symmetric Translations functionality?

I'm using Drupal 10.4.0 right now and feel exhausted fighting with layout_builder_st problems, currently, it's not allowing me to clear caches from the Drupal admin interface.

🇬🇪Georgia almador
curl https://git.drupalcode.org/project/layout_builder_st/-/merge_requests/16.patch | patch -p1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 32327    0 32327    0     0  44344      0 --:--:-- --:--:-- --:--:-- 44466
patching file layout_builder_st.info.yml
Hunk #1 succeeded at 2 with fuzz 1.
patching file layout_builder_st.services.yml
patching file src/Plugin/SectionStorage/OverridesSectionStorage.php
Hunk #2 FAILED at 22.
1 out of 2 hunks FAILED -- saving rejects to file src/Plugin/SectionStorage/OverridesSectionStorage.php.rej
patching file layout_builder_st.install
patching file src/Plugin/SectionStorage/OverridesSectionStorage.php
Hunk #1 FAILED at 22.
1 out of 1 hunk FAILED -- saving rejects to file src/Plugin/SectionStorage/OverridesSectionStorage.php.rej
patching file layout_builder_st.services.yml
patching file src/DependencyInjection/ClassResolver.php
patching file src/DependencyInjection/DecoratedClassResolver.php
patching file src/ElementManager.php
patching file layout_builder_st.services.yml
patching file layout_builder_st.services.yml
patching file src/Plugin/SectionStorage/OverridesSectionStorage.php
Hunk #2 FAILED at 23.
1 out of 2 hunks FAILED -- saving rejects to file src/Plugin/SectionStorage/OverridesSectionStorage.php.rej
patching file src/Plugin/SectionStorage/OverridesSectionStorage.php
Hunk #1 FAILED at 24.
1 out of 1 hunk FAILED -- saving rejects to file src/Plugin/SectionStorage/OverridesSectionStorage.php.rej
patching file layout_builder_st.services.yml
patching file src/DependencyInjection/DecoratedClassResolver.php
patching file layout_builder_st.services.yml
patching file src/DependencyInjection/DecoratedClassResolver.php
patching file .gitlab-ci.yml
patching file tests/src/Functional/Jsonapi/LayoutBuilderEntityViewDisplayTest.php
patching file tests/src/Functional/Jsonapi/LayoutBuilderEntityViewDisplayTest.php
patching file tests/src/Functional/Rest/LayoutRestTestBase.php
patching file layout_builder_st.info.yml
Hunk #1 FAILED at 5.
1 out of 1 hunk FAILED -- saving rejects to file layout_builder_st.info.yml.rej
patching file layout_builder_st.services.yml
patching file tests/src/Functional/Jsonapi/LayoutBuilderEntityViewDisplayTest.php
patching file tests/src/Functional/LayoutBuilderTranslationTest.php
patching file tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayJsonBasicAuthTest.php
patching file tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayResourceTestBase.php
patching file tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayXmlBasicAuthTest.php
patching file tests/src/Functional/Rest/LayoutRestTestBase.php
patching file tests/src/Functional/Rest/OverrideSectionsTest.php
patching file tests/src/FunctionalJavascript/InlineBlockTranslationTest.php
patching file tests/src/FunctionalJavascript/ModeratedTranslationTest.php
patching file tests/src/FunctionalJavascript/TranslationTest.php
🇬🇪Georgia almador

Applied the patch from:
https://git.drupalcode.org/project/layout_builder_st/-/merge_requests/16...

And received the error:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Drupal\layout_builder_st\DependencyInjection\DecoratedClassResolver::__construct(), 0 passed in /app/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 and exactly 1 expected in /app/public_html/modules/contrib/layout_builder_st/src/DependencyInjection/DecoratedClassResolver.php:17

Here is the list of my patches:
"drupal/layout_builder_st": {
"Issue #3420063: Error: Call to a member function getConfig() OverridesSectionStorage.php":
" https://www.drupal.org/files/issues/2024-03-29/layout_builder_st-call_to...
3420063-26.patch",
Issue #3069964 Argument 1 passed to Drupal.. must implement interface Drupal null given":
" https://www.drupal.org/files/issues/2019-07-24/isTranslation-null-given.... ",
"Issue #3431600: Automated Drupal 11 compatibility fixes for layout_builder_st":
"patches/layout_builder_st_3431600_16_2.patch"

🇬🇪Georgia almador

@liam Yes, I tried with the plain diff from:
https://git.drupalcode.org/project/layout_builder_st/-/merge_requests/16...

But now I received the error:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Drupal\layout_builder_st\DependencyInjection\DecoratedClassResolver::__construct(), 0 passed in /app/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 and exactly 1 expected in /app/public_html/modules/contrib/layout_builder_st/src/DependencyInjection/DecoratedClassResolver.php:17

Which seems to be mentioned by @grevil here:
https://www.drupal.org/project/layout_builder_st/issues/3431600#comment-... 📌 Automated Drupal 11 compatibility fixes for layout_builder_st Needs review

🇬🇪Georgia almador

Hi, @grevil!

Maybe you could provide the final patch to solve the error?

Or prepare the more detailed instructions?

🇬🇪Georgia almador

The same problem is happening here after upgrading the Facets to 2.0.9 and Drupal core to 10.3.6

🇬🇪Georgia almador

Thanks for answering, Rajab!

What is the workflow?

Is it safe to uninstall:
1. Varbase Updates Helper
2. Update Helper
3. Update Helper Checklist
(to uninstall this module we need to delete X update entities, in my case - 12)
/admin/modules/uninstall/entity/update_helper_checklist_update

🇬🇪Georgia almador

Today I noticed that clearing caches shows this error:

The website encountered an unexpected error. Try again later.
Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "class_resolver", path: "string_translation -> string_translator.locale.lookup -> config.factory -> config.typed -> class_resolver -> entity_type.manager". in Drupal\Component\DependencyInjection\Container->get() (line 149 of core/lib/Drupal/Component/DependencyInjection/Container.php).
Drupal\Component\DependencyInjection\Container->get('class_resolver', 1) (Line: 438)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 239)
Drupal\Component\DependencyInjection\Container->createService(Array, 'entity_type.manager') (Line: 179)
Drupal\Component\DependencyInjection\Container->get('entity_type.manager') (Line: 315)
Drupal::entityTypeManager() (Line: 218)
Drupal\Core\Session\AccountProxy->loadUserEntity('185') (Line: 77)
Drupal\Core\Session\AccountProxy->getAccount() (Line: 121)
Drupal\Core\Session\AccountProxy->hasPermission('access devel information') (Line: 200)
backtrace_error_handler(16384, 'Calling Drupal\Core\DependencyInjection\ClassResolver::__construct without the $container argument is deprecated in drupal:10.3.0 and it will be required in drupal:11.0.0. See https://www.drupal.org/node/3419963', '/home/user/public_html/core/lib/Drupal/Core/DependencyInjection/ClassResolver.php', 23)
trigger_error('Calling Drupal\Core\DependencyInjection\ClassResolver::__construct without the $container argument is deprecated in drupal:10.3.0 and it will be required in drupal:11.0.0. See https://www.drupal.org/node/3419963', 16384) (Line: 23)
Drupal\Core\DependencyInjection\ClassResolver->__construct() (Line: 261)
Drupal\Component\DependencyInjection\Container->createService(Array, 'class_resolver') (Line: 179)
Drupal\Component\DependencyInjection\Container->get('class_resolver', 1) (Line: 438)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 239)
Drupal\Component\DependencyInjection\Container->createService(Array, 'config.typed') (Line: 179)
Drupal\Component\DependencyInjection\Container->get('config.typed', 1) (Line: 438)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 239)
Drupal\Component\DependencyInjection\Container->createService(Array, 'config.factory') (Line: 179)
Drupal\Component\DependencyInjection\Container->get('config.factory', 1) (Line: 438)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 239)
Drupal\Component\DependencyInjection\Container->createService(Array, 'string_translator.locale.lookup') (Line: 179)
Drupal\Component\DependencyInjection\Container->get('string_translator.locale.lookup', 1) (Line: 438)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 275)
Drupal\Component\DependencyInjection\Container->createService(Array, 'string_translation') (Line: 179)
Drupal\Component\DependencyInjection\Container->get('string_translation') (Line: 197)
Drupal::service('string_translation') (Line: 104)
Drupal\Core\EventSubscriber\FinalExceptionSubscriber->getStringTranslation() (Line: 71)
Drupal\Core\EventSubscriber\FinalExceptionSubscriber->t('The website encountered an unexpected error. Try again later.') (Line: 129)
Drupal\Core\EventSubscriber\FinalExceptionSubscriber->onException(Object, 'kernel.exception', Object)
call_user_func(Array, Object, 'kernel.exception', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.exception') (Line: 239)
Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Object, Object, 1) (Line: 91)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
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: 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: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Any suggestions?

🇬🇪Georgia almador

Same errors on the page:
admin/structure/commerce_ticket_types/manage/default/display

🇬🇪Georgia almador

I'm on Drupal 10.3.1 and using layout_builder_st (Layout Builder Symmetric Translations) with patches for Drupal 10 compatibility, but I've noticed some errors with xdebug and ended with this issue.

Am I right that the patch from this issue should resolve the same thing Layout Builder Symmetric Translations is attempted to fix?

If yes, I'd prefer to remove Layout Builder Symmetric Translations and install the patch, but which patch works for 10.3.x?

🇬🇪Georgia almador

When applying the patch on Drupal 10.3.1
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2024-02-05/3180541-48.patch

I'm using the Commerce Core 2.39 (tried also with dev version)

My error code:

Drupal\Component\Plugin\Exception\MissingValueContextException: Required contexts without a value: commerce_product

Here is the Call stack:

Drupal\Core\Plugin\Context\ContextHandler->applyContextMapping (\home\user\site\public_html\core\lib\Drupal\Core\Plugin\Context\ContextHandler.php:150)
Drupal\block\BlockAccessControlHandler->checkAccess (\home\user\site\public_html\core\modules\block\src\BlockAccessControlHandler.php:92)
Drupal\Core\Entity\EntityAccessControlHandler->access (\home\user\site\public_html\core\lib\Drupal\Core\Entity\EntityAccessControlHandler.php:109)
Drupal\Core\Entity\EntityBase->access (\home\user\site\public_html\core\lib\Drupal\Core\Entity\EntityBase.php:329)
Drupal\block\BlockRepository->getVisibleBlocksPerRegion (\home\user\site\public_html\core\modules\block\src\BlockRepository.php:63)
Drupal\block\Plugin\DisplayVariant\BlockPageVariant->build (\home\user\site\public_html\core\modules\block\src\Plugin\DisplayVariant\BlockPageVariant.php:138)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare (\home\user\site\public_html\core\lib\Drupal\Core\Render\MainContent\HtmlRenderer.php:270)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse (\home\user\site\public_html\core\lib\Drupal\Core\Render\MainContent\HtmlRenderer.php:128)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray (\home\user\site\public_html\core\lib\Drupal\Core\EventSubscriber\MainContentViewSubscriber.php:90)
call_user_func:{/app/public_html/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:111} (\home\user\site\public_html\core\lib\Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher.php:111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch (\home\user\site\public_html\core\lib\Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher.php:111)
Symfony\Component\HttpKernel\HttpKernel->handleRaw (\home\user\site\vendor\symfony\http-kernel\HttpKernel.php:186)
Symfony\Component\HttpKernel\HttpKernel->handle (\home\user\site\vendor\symfony\http-kernel\HttpKernel.php:76)
Drupal\Core\StackMiddleware\Session->handle (\home\user\site\public_html\core\lib\Drupal\Core\StackMiddleware\Session.php:53)
Drupal\Core\StackMiddleware\KernelPreHandle->handle (\home\user\site\public_html\core\lib\Drupal\Core\StackMiddleware\KernelPreHandle.php:48)
Drupal\Core\StackMiddleware\ContentLength->handle (\home\user\site\public_html\core\lib\Drupal\Core\StackMiddleware\ContentLength.php:28)
Drupal\page_cache\StackMiddleware\PageCache->pass (\home\user\site\public_html\core\modules\page_cache\src\StackMiddleware\PageCache.php:106)
Drupal\page_cache\StackMiddleware\PageCache->handle (\home\user\site\public_html\core\modules\page_cache\src\StackMiddleware\PageCache.php:85)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle (\home\user\site\public_html\core\lib\Drupal\Core\StackMiddleware\ReverseProxyMiddleware.php:48)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle (\home\user\site\public_html\core\lib\Drupal\Core\StackMiddleware\NegotiationMiddleware.php:51)
Drupal\Core\StackMiddleware\AjaxPageState->handle (\home\user\site\public_html\core\lib\Drupal\Core\StackMiddleware\AjaxPageState.php:36)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle (\home\user\site\public_html\core\lib\Drupal\Core\StackMiddleware\StackedHttpKernel.php:51)
Drupal\Core\DrupalKernel->handle (\home\user\site\public_html\core\lib\Drupal\Core\DrupalKernel.php:741)
{main} (\home\user\site\public_html\index.php:19)
🇬🇪Georgia almador

The same error on Drupal 10.3.1

TypeError: Drupal\xhprof\Controller\XHProfController::runAction(): Argument #1 ($run) must be of type Drupal\xhprof\XHProfLib\Run, bool given in Drupal\xhprof\Controller\XHProfController->runAction() (line 99 of modules/contrib/xhprof/src/Controller/XHProfController.php)

Xhprof is working fine on "File storage" option, but not on "XHGui Upload"

🇬🇪Georgia almador

Hi, Rajab!

I'm still using Varbase 9 on one of my projects.

Should I wait for the stable release of Varbase 10.0.0 or proceed with an update to RC1 on the production server?

🇬🇪Georgia almador

 I'm using SiteGround shared hosting and I was struggling with the error:

Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.33

Let me share the solution.

Here is my.bashrc:

# User specific aliases and functions
alias composer="/usr/local/php81/bin/php-cli /home/user/composer.phar "
alias php="/usr/local/php81/bin/php-cli"
alias drush="/usr/local/php81/bin/php-cli /home/user/www/example.com/public_html/vendor/drush/drush/drush"

(make sure to update the /home/user to your username and example.com to your site name)

If you modify the .bashrc make sure to run:

source ~/.bashrc

Add this string to the end of the root Drupal dir .htaccess file:

AddHandler application/x-httpd-php81 .php .php5 .php4 .php3

Also, adding this string helps after composer update command, because composer update replaces the .htaccess and the site starts to show the error "Composer detected issues in your platform".

If you are still facing the problem with drush updb try example.com/update.php instead.

🇬🇪Georgia almador

My solution for SiteGround:

Update .bashrc with (make sure to update the /home/user to your username and example.com to your site name):

# User specific aliases and functions
alias composer="/usr/local/php81/bin/php-cli /home/user/composer.phar "
alias php="/usr/local/php81/bin/php-cli"
alias drush="/usr/local/php81/bin/php-cli /home/user/www/example.com/public_html/vendor/drush/drush/drush"

Run:

source ~/.bashrc

Add this string to the end of .htaccess file in the root of Drupal dir:

AddHandler application/x-httpd-php81 .php .php5 .php4 .php3

Also, adding this string helps after composer update command, because it replaces the .htaccess and the site starts to show the error (if you are still facing the problem with drush updb try example.com/update.php ):

Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.33

🇬🇪Georgia almador

The patch from #6 not applying cleanly to 7.x-1.12.

Created updated patch for 7.x-1.12

🇬🇪Georgia almador

Hi, Rajab!
Let me first thank you for your efforts and so nice distribution!

As I see Varbase 10.0.0-rc1 was released yesterday, but it is still stated:
"Only for testing!. Do not use in production or live sites yet!."

Should I wait for another Drupal 10 version, that could be used in production?

🇬🇪Georgia almador

Thank you flyke!

The solution in #19 helped me to uninstall the "Media Library Theme Reset".

🇬🇪Georgia almador

Can't manage to make it work with accordions on Drupal 10.1.5. It was working fine on 9.5.11, but after update, accordions are not opening.

The patch is applied, the module is enabled and I can enter module settings at:
admin/config/content/formats/jquery_ui_filter

I'm using:
"drupal/jquery_ui": "1.6",
"drupal/jquery_ui_tabs": "2.0",
"jquery_ui_accordion/accordion": "2.0"

🇬🇪Georgia almador

I have the same problem after transferring the site from Pantheon to Linode.
Another custom module, but the same errors.

🇬🇪Georgia almador

Thanks, Damien!

I've read somewhere that I need to enable 'Custom display settings' for 'Token' view mode at:
admin/structure/types/manage/content_type/display

Is it necessary?

🇬🇪Georgia almador

It looks like providing:
[node:field_media_image:entity:field_media_image]
at 'Advanced -> Image' and 'Open Graph -> Image' did the trick!

🇬🇪Georgia almador

Hi, darcy-jean!

I was really curious about this patch, tried to install it on 3.0.x-dev, but the patch is rejected.

For example, in content_sync.install it tries to remove:
- use Drupal\Core\Database\Database;

but the original content_sync.install is missing this statement.

🇬🇪Georgia almador

Does it possible to use this crawler just to make that all links from the Administration menu (admin/structure/menu/manage/admin) are opening without fatal errors? Any other module suggestions to crawl admin pages?

🇬🇪Georgia almador

Experiencing the same problem as in #131, the first time selection for the exposed filter worked fine (after updating the page), but the second one is not working with "Maximum call stack size exceeded" error.

Patch from #129 is applied.

🇬🇪Georgia almador

I could confirm that issue exists, the patch in #11 is not working for me.

Also, I've installed the patch from here:
Ajax attached to Views exposed filter form does not trigger callbacks
https://www.drupal.org/project/drupal/issues/2842525 🐛 Ajax attached to Views exposed filter form does not trigger callbacks Needs work

I could select my exposed filter the first time after the page update, but when I tried to select it the second time "Maximum call stack size exceeded" error appeared.

🇬🇪Georgia almador

Please share your experience about it, cmcintosh!

What was the workflow you were using?

🇬🇪Georgia almador

Yes, Rajab, exactly, I was using this manual.

With mentioned patches skipped I've managed to upgrade to Drupal Version 9.5.10 and varbase-9.0.14

🇬🇪Georgia almador

what about 28 000 000 rows in node_revision_body and 8 more revision-related tables?

so I have 9 tables, and every table contains around 30 000 000 records, how to speed up the process and make it work with this module way faster?

🇬🇪Georgia almador

I'm on Drupal 9.5.3. with Mail System 8.x-4.4 and Mime Mail 8.x-1.0-alpha5

When I'm trying to send the email using Mimemail example module
admin/config/system/mimemail/mimemail_example
this error appears:
Unable to send email. Contact the site administrator if the problem persists.

Checked admin/reports/maillog - no messages here.

In dblog:
Error sending email (from name to name@gmail.com with reply-to not set).

Default Mail System is set to Mime Mail mailer (both sender and formatter)

How could I find the log of "real" Mime mail errors to find what is preventing emails to be sent?

🇬🇪Georgia almador

I'm on Drupal 9.5.3. with Mail System 8.x-4.4 and Mime Mail 8.x-1.0-alpha5

When I'm trying to send the email using Mimemail example module
admin/config/system/mimemail/mimemail_example
this error appears:
Unable to send email. Contact the site administrator if the problem persists.

Checked admin/reports/maillog - no messages here.

In dblog:
Error sending email (from name <id@server.org> to name@gmail.com with reply-to not set).

Default Mail System is set to Mime Mail mailer (both sender and formatter)

How could I find the log of "real" Mime mail errors to find what is preventing emails to be sent?

Checked my server /var/log - can't find anything related to mail or postfix, I think this AWS server.

🇬🇪Georgia almador

I don't know if this is the right topic to share my issue, but it's also related to switching the original language.

What I did - while upgrading Drupal 8 to Drupal 9 by mistake I changed my default language from English to Spanish. When I realized this (after the upgrade) I switched my default language back to English from this page:
admin/config/regional/language

But now, when I'm trying to edit any of my translations related things it still says "Español (original)".

Is there any way to switch every translation option back to English (original)?

🇬🇪Georgia almador

Also received the message RichardDavies stated.

How this should be properly solved?

🇬🇪Georgia almador

I suggest you've already tried removing:
'namespace' => 'Drupal\Driver\Database\mysql',
from settings.php

I can't remember how it was fixed in my situation, but you could try to:

- rename drupal 'web/core' folder to 'web/core2'
- rename 'vendor' folder to 'vendor2'
- rename 'composer.lock' to 'composer_old.lock'
- run 'composer install'
- run 'drush cr' and 'drush updb'

Make sure you've created the code and database backup before doing this!

🇬🇪Georgia almador

drupalsilm, could you please provide the output of CLI when you are trying to run drush?

Also, it seems that you have direct access to the database. You could try from here:

  • - Manually edit the config table where name = 'core.extension' and remove the module from the data blob which is a serialized array.
  • - Be aware to decrement the module array length as well (...s:6:"module";a:HERE;{...)
  • - Truncate the cache_config table from phpmyadmin or using command-line.

https://drupal.stackexchange.com/questions/72927/manually-disable-a-module

🇬🇪Georgia almador

drupalsilm
Did you check in the modules list if the 'mysql' module is installed?

🇬🇪Georgia almador

This patch should help with shs_chosen search is not working

🇬🇪Georgia almador

same here on Drupal 9.5.7 and 10.0.7 with patch applied

🇬🇪Georgia almador

Hi, rahul1707, and thank you so much for the patch!

I'm using the latest shs-2.0.0-rc3 with your patch and I can confirm that it works with selecting hierarchical items.

BUT when I'm trying to allow creating new items on the form display widget:
admin/structure/types/manage/article/form-display

"Allow creating new items
Allow users to create new items of the source bundle."

widget checkbox is gray and not available

🇬🇪Georgia almador

Dharmendra.s thank you for the patch, I could confirm it's working

🇬🇪Georgia almador

also when I'm trying to access the /admin/structure/views/view/taxonomy_term

the error appears:
TypeError: array_key_exists(): Argument #2 ($array) must be of type array, Drupal\Core\StringTranslation\TranslatableMarkup given in html_titles_preprocess_page_title() (line 52 of modules/contrib/html_titles/html_titles.module).

🇬🇪Georgia almador

Hi! My bootstrap version is 8.x-3.25 and I'm experiencing the same issue, but only with one language - English.

If I choose another language - glyphicon is showing.

this is the code for English:

<div data-drupal-selector="edit-actions" class="form-actions form-group js-form-wrapper form-wrapper" id="edit-actions"><button data-drupal-selector="edit-submit-search" class="button js-form-submit form-submit btn-default btn" type="submit" id="edit-submit-search" value="Buscar" name="">Buscar</button></div>

and for Spanish:

<div data-drupal-selector="edit-actions" class="form-actions form-group js-form-wrapper form-wrapper" id="edit-actions"><button data-drupal-selector="edit-submit-search" class="button js-form-submit form-submit btn-primary btn icon-before" type="submit" id="edit-submit-search" value="Buscar" name=""><span class="icon glyphicon glyphicon-search" aria-hidden="true"></span>
Buscar</button></div>

As you can see the part in English somehow missing the span with glyphicon.

Can't figure out why does it happening in English only.

🇬🇪Georgia almador

Once the ckeditor4 is deprecated now, maybe the dependencies in info.yml should be updated to ckeditor5?

🇬🇪Georgia almador

I'm not sure, but maybe in html_titles.module

$theme_registry['field__node__title']['path'] = drupal_get_path('module', 'html_titles') . '/templates';

should be replaced with:

  $theme_registry['field__node__title']['path'] = \Drupal::service('extension.list.module')->getPath('html_titles') . '/templates';
Production build 0.71.5 2024