Skip to main content
19
results
Andrew Fletcher
Resources - changing Drush Type Version Drush (current) 11.6.0 Drush (update) 12.2.0 Updating Drush went OK on all testing environments until on to the staging environment.  The initial error that I saw was PHP Fatal error: Declaration of Drush\Style\DrushStyle::confirm($question, $default = true) must be compatible with Symfony\Component\Console\Style\SymfonyStyle::confirm(string $question, bool $default = true): bool in...
Andrew Fletcher
Attempting to run a composer update command, you know the one used...
Andrew Fletcher
Using Composer to Manage Projects and if required their dependencies In this...
Andrew Fletcher
Looking at composer I first wanted to check the current version, which is...
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN...
Andrew Fletcher
Find by file name To perform a find command in terminal use find / -name php.ini -type f find / -name {filename} {type parameters}Note there are many parameters in the commands, so I'll cover a couple regular expressions here.  Such as,  -name matches the string being searched and is case sensitive -iname matches the string being searched and is case insensitive -type f means to find a file with the name being searched.  In this instance php.ini -type d find a...
Andrew Fletcher
This article works through the steps to update dependencies in the...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
Had the situation where you are running composer however, the scripts stops with a prompt?  Such as: - Installing composer/installers (v1.12.0): Extracting archive composer/installers contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins Do you trust "composer/installers" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y - Installing cweagans/composer-patches (1.7.2):...
Andrew Fletcher
While working with lando, I had the following error ERROR: for safs_appserver_1...
Andrew Fletcher
Let say in composer.json you have "drupal/core-recommended": "^9.2" You're...
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...