Skip to main content
41
results
Andrew Fletcher
Let say in composer.json you have "drupal/core-recommended": "^9.2" You're attempting to run composer update "drupal/core-*" --with-all-dependencies...to update to the latest 9.2.x version. Yet instead you are finding 9.3.6 installed. How do you use caret version constraint for core-recommended?  Caret means "any compatible version" which as of today is version 9.3.  However, if you want to stay on 9.2 you use a 9.2.* version constraint. Minor updates only introduce...
Andrew Fletcher
Updating to PHP 8.1, I found this interesting code stop... Deprecated function:...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
Running composer on a server... when running the command composer update, screen...
Andrew Fletcher
Have you tried to run a composer update script that...
Andrew Fletcher
You can create a new date/time format by navigating to: Admin -> Configuration -> Regional and Language -> Date and Time format and click on 'Add Format'. Once you’ve created date format, you can control the way date is displayed on the node using preprocess function. In {theme_name}.theme file, add the following lines /** * Implements hook_preprocess_node */ function THEME_NAME_preprocess_node(&$variables) { // Getting the node creation time stamp from the node object. $date...
Andrew Fletcher
A recent attempt to run an update composer (regular activity for many of...
Andrew Fletcher
A bug bear that I have had for a while with Drupal content is how come the...
Andrew Fletcher
Updating Drupal from 8.7.10 to 8.8.x or 8.9.x has seen a significant change...
Andrew Fletcher
As outlined in an earlier article composer php version, when installing the...
Andrew Fletcher
Running a common composer command, post an upgrade on the server to Centos 7 and I received the following error: /usr/local/bin/composer: line 8: 6210 KilledThe "Killed" message usually means that your process consumed too much memory, so you may simply need to add more memory to your system if possible.  You can increase the memory, however, note that you shouldn't be doing this action on a production server, and additionally you shouldn't be using composer update at all....