πŸ‡¦πŸ‡½Γ…land Islands @albertho425

Seattle, WA
Account created on 20 February 2024, about 1 year ago
#

Recent comments

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Hello @nagy.balint

Sorry for the late reply. I am using admin user and the config_log_views is enabled in the extend page.

On the 2 sites where config_log_views is enabled but the URL /admin/reports/config-log is missing, I exported the YML file of a config_log_view of a site that is fully working and imported the YML file to the 2 sites where /admin/reports/config-log is missing. I'll closely monitor for the next few days but it looks like exporting/importing the specific config_log_views using drush resolves the issue. Thank you.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Thank you @marco.b.

The gin_gutenberg module works great and also resolves the issue. Had I known about this module, I wouldn't have used the patch. Thanks again!

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

I tried gutenberg 3.0.6 and the issue persists.

I wrote a patch that comments out this entire block of code in the Gin theme and it works.

      // Only alter the status field on content forms.
      if ($is_content_form) {
        // Set form id to status field.
        if (isset($form['status']['widget']) && isset($form['status']['widget']['value'])) {
          $form['status']['widget']['value']['#attributes']['form'] = $form['#id'];
          $widget_type = $form['status']['widget']['value']['#type'] ?? FALSE;
        }
        else {
          $widget_type = $form['status']['widget']['#type'] ?? FALSE;
        }
        // Only move status to status group if it is a checkbox.
        if ($widget_type === 'checkbox') {
          $form['status']['#group'] = 'status';
        }
      }
πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

When using Gin as admin theme and Gutenberg editor in a content type in Drupal 10,

/web/themes/contrib/gin/src/GinContentFormHelper.php Line 178 $form['status']['#group'] = 'status'; is causing the published toggle to be missing.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Sorry. Correction to my statement.

On the 2 affected sites, email is sending correctly. I just can't access the view and I can't see the config change in dblog. Unfortunately, I can't give access to the server. I tried uninstalling and re-installing. I also tried turning off the two ignore settings. Still the same. In case it was an old installation and failed, do you have instructions on how I can do a clean uninstall?

Thanks.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Hi,

I'm using Drupal 10.4.1, PHP 8.3, Webform 6.2.9, Client side validation 4.1.1

The other box is not appearing when I use select with 1 value or select with unlimited values. It's the same whether with client side validation or not. Note that "select other" is working, but it causes a CSS issue so I opted not to use any "other" question and manually make the "other" text field appear. Here is a screen recording.

https://www.youtube.com/watch?v=cRDm3EkyAmk

Thank you.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Configurations on 2 affected sites
- Configuration Log and Configuration Log Views are installed
- Custom table, Default logging system, and mail notification are checked
- Ignore logging on config import and ignore logging if there are no changes to the configuration are also checked

What's not working
-Emails not sending
-Can't access the view
-Can't see the config change in dblog

Thank you.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

I checked the following

- settings.php is same for all 10+ multisites except for the database table name, username, and password
- I have a shell script for all multisites that emails site information on-demand and automatically, so the email is working
- I also have a shell script that checks for config changes and emails from each multisite which is working

On the 2 where I am experiencing an issue
- /admin/reports/config-log is also missing for those sites
- emails are not being sent when a config change occurs, but is sending through my shell scripts

Is there something I can check in the database?

Thanks.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

When webform alone is used with checkbox or checkbox other, it says "Please check this box if you want to proceed" referring to the first checkbox. However, if I select any box, I can continue.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA
πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

albertho425 β†’ created an issue.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Hello @nagy.balint,

Yes all multiisites have the same configuration and different database.

Drush cim and the Configuration Log module as well as shell scripts are not showing anything to synchronize.

Thanks.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Providing an update here.

If I use the slider in the side panel to adjust the size, it gives this error:
Uncaught TypeError: fontSizeValue?.startsWith is not a function

If I use the text input in the side panel to adjust the size, it gives this error:
fontSizeValue?.startsWith is not a function and also says "This block has encountered an error and cannot be previewed."

I can hide those with CSS or JavaScript so the user doesn't see it.

I also tried making my own heading and paragraph block. Everything works except the default behavior of when user presses enter key.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

albertho425 β†’ created an issue.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Thank you for the quick response. It's actually faster to just to make a "select" question and show the "other" question conditionally based on a response. no theme adjustment needed. Thanks.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

albertho425 β†’ created an issue.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Repairing config via /admin/structure/webform/config/advanced works. Thank you.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

It occurs in Is 6.3.0-alpha2, 6.2.8, and 6.2.7.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

@aluzzardi's workaround works for me. Thank you @aluzzardi!

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Providing an update here. Tested IMCE on 3 other sites. It is not an IMCE issue. It's a ckeditor5 issue.
https://www.drupal.org/project/drupal/issues/3441889 πŸ› Uploading an image to CKEditor5 causes entire layout to shift Active

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Providing an update here. Tested IMCE on 3 other sites. It is not an IMCE issue. It's a ckeditor5 issue.
https://www.drupal.org/project/drupal/issues/3441889 πŸ› Uploading an image to CKEditor5 causes entire layout to shift Active

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

The issue is occurring for me as well.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA
πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

I experienced the same issue for version 3.1.0. In version 3.1.1, it creates more horizontal scrolling.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA
πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

albertho425 β†’ created an issue.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Change "Active" to "Activate"

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Field mapping is not working for me. I get the following message:

TypeError: Drupal\gutenberg\MappingFieldsHelper::getMappedFields(): Argument #1 ($template) must be of type ?array, string given, called in /var/www/html/web/modules/contrib/gutenberg/src/MappingFieldsHelper.php on line 285 in Drupal\gutenberg\MappingFieldsHelper->getMappedFields() (line 264 of modules/contrib/gutenberg/src/MappingFieldsHelper.php).

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Looks like https://github.com/front/create-cloud-block doesn't work, all dependencies are deprecated. 

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

The https://gutenbergcloud.org/ link doesn't work.

  • issue with the certificate
  • Also displays this message: 

    Passenger error #3

    PassengerUser directive is not set for the virtual host of the current request.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

I read this link: https://git.drupalcode.org/project/webform/-/blob/6.2.x/includes/webform... and referenced webform_update_8637() but couldn't figure what I'm supposed to do.

Today I ran

drush pm-uninstall webform
drush en webform

and it says In Role.php line 210:
Adding non-existent permissions to a role is not allowed. The incorrect permissions are "execute node_assign_owner_action node", "execute node_unpublish_by_key
word_action node".

In the logs, it doesn't log webform as installing. When I try to install again, it says webform already enabled.

Next I tried the following commands which didn't help:
drush php-eval 'node_access_rebuild();'
drush updb
drush cr

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Sorry, I spoke too soon. The repair command works on local, but not on staging. On staging, the config form is still missing for the main site.

It still gives this message when running drush en web

In Role.php line 210:

Adding non-existent permissions to a role is not allowed. The incorrect permissions are "execute node_assign_owner_action node",
"execute node_unpublish_by_keyword_action node".

When running drush ws it says

----------------------
3067837 29/Jun 12:05 update Warning Schema information for module webform was missing from the database. You should
manually review the module updates and your database to check if any updates
have been skipped up

drush updb, drush cr, drush webform:repair, and drush pmu webform doesn't work on staging. There are 3 other multisites on staging that are running webform without issue.

Is there a SQL query I could run?

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Thank you. drush webform:repair did the trick. The main site and all 12 multisites are working now. Thanks.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

I'm using the webform on my Drupal 10 multisites. Got it to work on 3 multisites, but the original multisite just won't work despite uninstalling, reinstalling, updb, cr.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

albertho425 β†’ created an issue.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

I got the same message:

[success] Finished performing updates.
PHP Fatal error: Declaration of Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::__sleep() must be compatible with Drupal\search_api\Backend\BackendPluginBase::__sleep(): array in /var/www/html/web/modules/contrib/search_api_solr/src/Plugin/search_api/backend/SearchApiSolrBackend.php on line 5077

Fatal error: Declaration of Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::__sleep() must be compatible with Drupal\search_api\Backend\BackendPluginBase::__sleep(): array in /var/www/html/web/modules/contrib/search_api_solr/src/Plugin/search_api/backend/SearchApiSolrBackend.php on line 5077
[warning] Drush command terminated abnormally.
Failed to run drush updb: exit status 1
albertho ~/Documents/uw-deohs-web [06-27] $ ddev drush ws
PHP Fatal error: Declaration of Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::__sleep() must be compatible with Drupal\search_api\Backend\BackendPluginBase::__sleep(): array in /var/www/html/web/modules/contrib/search_api_solr/src/Plugin/search_api/backend/SearchApiSolrBackend.php on line 5077

Fatal error: Declaration of Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::__sleep() must be compatible with Drupal\search_api\Backend\BackendPluginBase::__sleep(): array in /var/www/html/web/modules/contrib/search_api_solr/src/Plugin/search_api/backend/SearchApiSolrBackend.php on line 5077
[warning] Drush command terminated abnormally.
Failed to run drush ws: exit status 1
albertho ~/Documents/uw-deohs-web [06-27] $ ddev drush cr
PHP Fatal error: Declaration of Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::__sleep() must be compatible with Drupal\search_api\Backend\BackendPluginBase::__sleep(): array in /var/www/html/web/modules/contrib/search_api_solr/src/Plugin/search_api/backend/SearchApiSolrBackend.php on line 5077

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

albertho425 β†’ created an issue.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Here is a screenshot of the errors I see.

https://drive.google.com/file/d/1zfHmbAWr1ZLT_FemQjEdBQzTuOX9cNQf/view?u...

There are several pages of these per multisite and the links actually work. Setting the log level of Link checker to debug messages only has no effect of decrease these error messages.

When viewing recent log messages, I am now only filtering to see Emergency, Alert, and Critical messages. I would check Error messages last because they are all Link checker messages and the vast majority are fully functional links.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Update:

Update: My coworker Tom discovered that in my case, it's actually the content policy checkbox isn't working correctly. He got it working by using config export/import for Google Tag. This is the specific issue. https://www.drupal.org/project/google_tag/issues/3424623 πŸ› "Enforce Privacy Consent Policy" checkbox default value is checked even when it is disabled RTBC

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA
πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

albertho425 β†’ created an issue.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

The data isn't flowing for one of my multi-sites. I can see the tag on every page when viewing the source code. Also, when using the "test your website" feature in Google Analytics, it shows a successful connection.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

Re-importing the database for each multisite resolves the issue.

πŸ‡¦πŸ‡½Γ…land Islands albertho425 Seattle, WA

I updated token to 1.14.0, diff to 1.3.0, search_api to 1.34.0, and search_api_solr to 4.3.3 on my main site which is working normally. On all my multisites, I see this message in Terminal.

ID Date Type Severity Message
------- -------------- -------------------- ---------- -------------------------------------------------------------------------------
18676 16/Apr 07:54 php Error Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You
have requested a non-existent service "token.module_provider". Did you mean
this: "router.route_provider"? in
18675 16/Apr 07:54 access denied Warning Path: /cehe/admin/reports/dblog?severity%5B%5D=3&severity%5B%5D=4.
Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException: The 'access
site reports' permission is required. in Drupa
18674 15/Apr 18:56 php Error Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You
have requested a non-existent service "token.module_provider". Did you mean
this: "router.route_provider"? in

I tried rolling back to the previous version of the modules as well as restoring the database and nothing is working yet.

Production build 0.71.5 2024