Skip to main content
323
results
Andrew Fletcher
17 Jan 2023
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...
Andrew Fletcher
13 Jan 2023
This guide has been compiled as a reference tool on how to access field values...
Andrew Fletcher
11 Jan 2023
Update Ubuntu 20.04 To begin update the server using the command sudo apt...
Andrew Fletcher
06 Jan 2023
Setting up the admin password.   Process: 1. Edit jetty.xml To begin you are...
Andrew Fletcher
06 Jan 2023
Looking at composer I first wanted to check the current version, which is...
Andrew Fletcher
06 Jan 2023
How do you remove a file from git? Use the command (rm) to remove files from your local git repository git rm --cached It's important to note the --cached flag deletes the file from your git repository, it becomes an untracked file in your project folder.  For the change(s) to kick in, you need to commit the changes.
Andrew Fletcher
28 Dec 2022
Working in Drupal 9.5 and I'm now getting the following cache tag error The...
Andrew Fletcher
27 Dec 2022
Regular commands for brew   Brew update This updates Homebrew itself....
Andrew Fletcher
23 Dec 2022
Moving a Git repo due to a change of agencies   Steps to change the repo: 1....
Andrew Fletcher
08 Dec 2022
These steps are for Drupal 8 and 9.   Export your database Order here is...
Andrew Fletcher
29 Nov 2022
Working in Drupal admin, going to a content type > manage form display and I'm seeing the following error Fatal error: Declaration of Drupal\entity_reference_views\Plugin\Field\FieldWidget\Select2ViewsWidget::defaultSettings() must be compatible with Drupal\select2\Plugin\Field\FieldWidget\Select2EntityReferenceWidget::defaultSettings(): array in /app/web/modules/contrib/entity_reference_views/src/Plugin/Field/FieldWidget/Select2ViewsWidget.php on line 28 This error relates to two specific...
Andrew Fletcher
15 Nov 2022
Docker containers list View a list of the Docker containers up docker...
Andrew Fletcher
26 Oct 2022
Working through and importing JSON data into a content type.   Drush migration...
Andrew Fletcher
25 Oct 2022
After cloning a site, next you will want to import the config file.  Which you...
Andrew Fletcher
20 Oct 2022
Recently I have been investigating one of my Linux server's speed using the copy...