Skip to main content
495
results
Andrew Fletcher
A recent upgrade to PHP 8.1, has highlighted an error that hadn't been appearing previously. Deprecated function : explode(): Passing null to parameter #2 ($string) of type string is deprecated in toc_js_node_view()(line 130 of modules/contrib/toc_js/toc_js.module).In the top_js.module file from L124 // lambda function to clean css identifiers $cleanCssIdentifier = function ($value) { return Html::cleanCssIdentifier(trim($value)); }; // toc-js class is used to initialize...
Andrew Fletcher
Setting up the admin password.   Process: 1. Edit jetty.xml To begin you...
Andrew Fletcher
Looking at composer I first wanted to check the current version, which is...
Andrew Fletcher
How do you remove a file from git? Use the command (rm) to remove files from...
Andrew Fletcher
Working in Drupal 9.5 and I'm now getting the following cache tag error The...
Andrew Fletcher
Regular commands for brew   Brew update This updates Homebrew itself.  Keeping Homebrew current with the command brew update.  Note, before running this command, it can take some time (if you haven't run it recently).  It is highly recommended that you run the update before trying to install a package. brew updateResponse Already up-to-date.  Brew doctor Post running the brew update, next run a diagnostics command: brew doctorResponse Your system is ready to...
Andrew Fletcher
Moving a Git repo due to a change of agencies   Steps to change the...
Andrew Fletcher
Working in Drupal admin, going to a content type > manage form display and...
Andrew Fletcher
Working through and importing JSON data into a content type.   Drush...
Andrew Fletcher
After cloning a site, next you will want to import the config file.  Which...
Andrew Fletcher
Recently I have been investigating one of my Linux server's speed using the copy [cp] command.  This came about due to 'upgrading' the server from Centos 6 to 7.  Once I had migrated a domain, I ran the following command yes | cp -rf 'stg/core' 'tmpdir'To my surprise, the first run of this command took over 38 minutes to complete.  Crap!  Yes a simple cp -a command is a very painful and slow process.  Read more about the pain and times under Centos 7 in this...
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN...
Andrew Fletcher
This is a relatively quick process, beginning with dropping the database...
Andrew Fletcher
Installing Docker using the command docker build -f Dockerfile.base -t...
Andrew Fletcher
Tailwind CSS is a highly customisable framework that delivers developers the...