Query params in url does not appears in node url after updating

I need to append node path programmatically to make the url look like [the link]?utm_source=Home%20Page&utm_medium=website&utm_campaign=AB%20Test&utm_content=Headline A I’m updating node via node_save() $alias = drupal_get_path_alias(‘node/’ . $node->nid); $queryA = array( ‘utm_source’=>’Home Page’, ‘utm_medium’=>’website’, ‘utm_campaign’=>’AB Test’, ‘utm_content’=>’HeadlineA’ ); $node->path = array( ‘alias’ => $alias, ‘query’ => $queryA, ‘pathauto’ => FALSE, ‘absolute’ => TRUE); node_save($node); but unfortunately i’m…

Details

How to prevent an ‘Attempt to create a field field_description that does not exist on entity type group’?

When cron runs I see a notice in the dblog. Drupal\Core\Field\FieldException: Attempt to create a field field_description that does not exist on entity type group. in Drupal\field\Entity\FieldConfig->getFieldStorageDefinition() (line 312 of /web/core/modules/field/src/Entity/FieldConfig.php). This appears to be similar to ‘Attempt to create a field body that does not exist on entity type node‘ Some time ago during…

Details

How can I use the network manager to connect to an internal and internet network?

I want to connect to two networks: one via ethernet (an intranet without internet access) and WiFi for wireless access. Both networks use a different subnet. I’ve setup a separate ethernet connection in the network manager so it is never set as the default route. But whenever I activate the intranet connection, the wireless connection…

Details

How settings in systemd-resolved affect netplan settings?

I wanted to make sure my server used DNSSEC and DNS-over-TLS, so I went to /etc/systemd/resolved.conf and added the following: [Resolve] DNS=9.9.9.9 FallbackDNS=149.112.112.112 DNSSEC=true DNSOverTLS=opportunistic I used Quad9’s public DNS servers (9.9.9.9 and 149.112.112.112), which has both DNSSEC and DNSOverTLS. To check that everything was working properly, I restarted systemd (using systemctl restart systemd-resolved.service) and…

Details