Skip to main content
17
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
Updating NPM packages using npm update and I'm seeing the following response npm...
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 blocks some libraries update and pull, follow the following steps to build the base image locally. Run the following command to build the base PHP image: Make sure you are in the project root directory before running the command and its a fresh window after changing the proxy docker build -f Dockerfile.base -t apachebuster8 .Errors running docker command If you experience errors when attempting to run the command...
Andrew Fletcher
This article works through the steps to update dependencies in the...
Andrew Fletcher
Had the situation where you are running composer however, the scripts stops with...
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
If you are using theme_get_settings, such as: $value = trim(theme_get_setting('my_setting')); Then in your code editor you will also be seeing undefined  function 'theme_get_setting'.  This function has been deprecated for some time.   Instead, you need to use Passing the theme.manager and theme.initialization services to theme_handler constructor as optional parameters is deprecated. These parameters are also mandatory. $theme_handler = \Drupal::service('theme_handler');Get...
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
A recent attempt to run an update composer (regular activity for many of...
Andrew Fletcher
Updating Drupal from 8.7.10 to 8.8.x or 8.9.x has seen a significant change...