Drupal is up and running but how do I ...?

Fatal PHP error while updating to D 10.2.0 but site works properly

Yesterday I updated D 10.1.7 to D 10.2.0. No problems with composer and db update with drush, and the site works fine.

The server warns me that there is a PHP "fatal error" in error_log
 

Transfer configuration and contents from Drupal 10 to Drupal 10

Hello all

I have an already running Drupal 10 site with a specific configuration (some content types, contents, views, specific file system configuration, etc.) and I have acquired a new theme for this site.

[solved]order of css files is different from what I expected

The order of css files loaded is different from what I expected.

mysubtheme.libreries.yml

global-styling:
  js:
    js/theme.js: {}
  dependencies:
    - core/jquery
  css:
    base:
      css/theme.css: {}
      css/custom.css: {}

and custom.css is rendered BEFORE base.css in most cases which I can see in Elements tool on browser's dev tool.

How can I manage order of css files, especially my customized css file? I want to have custom.css file always loaded last.

After Drupal 10 upgrade, CSS/JS aggregation causing 404 response on first page request

​I have a site working locally but not functioning on the server, which is running NGINX for serving files.

Problem:

After enabling CSS / JS aggregation, the first time you load any page, admin theme or front end theme, the CSS/JS aggregated files throw a 404, I have checked the files directory and they were generated, and they have the correct filenames so should have been served to the user.

og:image not working

I've installed meta tag module, and activated meta tag, open graph tag and twitter card.

Then, I tried this:

https://www.drupal.org/docs/contributed-modules/metatag/frequently-asked...

Sample of above article is for article content type but I don't have article pages in my site, in my case the content type is customized one.

Entire Content type with fields from D9 to D10

I am running a 'staging' site version with D 10.1.7, while the production site is still at version D 9.5.11.
Between versions 9 I was using 'Content Type Clone' to clone an entire content type with all its fields, but the module has not been upgraded to version 10.

Is there any method to copy a content type with all its fields from D 9 and export it inside D 10?
I've done a bit of research, but I don't seem to have found anything similar.

Thanks for any suggestions
 

Pages

Subscribe with RSS Subscribe to RSS - Post installation