Skip to main content
180
results
Andrew Fletcher
Update Drupal to 10.1.x and I'm receiving the following error Twig\Error\SyntaxError: Unexpected "spaceless" tag (expecting closing tag for the "macro" tag defined near line 2). in Twig\Parser->subparse() (line 2 of themes/custom/{theme}/templates/misc/filesize-macro.html.twig).The error message clearly indicates that there's a problem in the Twig template file at line 2. Specifically, there is an "Unexpected 'spaceless' tag" and it's expecting a closing tag for the "macro" tag that was...
Andrew Fletcher
Loading the code in a platform - in this article, I'll be focusing on Android...
Andrew Fletcher
  Set up your server Begin by cleaning up your server environment.  Do...
Andrew Fletcher
Recently a client handed me code that runs an app through iOS and Android....
Andrew Fletcher
By default the maximum file upload size is set to 2MB.  It is not a...
Andrew Fletcher
Twig error Twig\Error\SyntaxError: Unknown "filter" tag. in Twig\Parser->subparse() (line 6 of themes/custom/{theme}/templates/views/views-view-field--products--field_product_type.html.twig).Line 6 of the views-view-field--products--field_product_type.html.twig file is  {% filter upper|escape('html') %}The actual Twig file code {% filter upper|escape('html') %} {{ view.field.field_product_type.original_value -}} {% endfilter %}In Drupal 10, this is producing the error noted above -...
Andrew Fletcher
Post upgrading from Drupal 9.5.10 to Drupal 10.1.3, I was seeing the following...
Andrew Fletcher
To get Flysystem S3 ready for Drupal 10, I needed to apply the latest patch to...
Andrew Fletcher
To PATCH a user is to update an existing user... actually the current user...
Andrew Fletcher
  Updating to Drupal 10 Begin by upgrading Drupal 9 to the latest version....
Andrew Fletcher
Attempting to run a composer update command, you know the one used regularly composer updateI ran into a 'could not delete' response Loading composer repositories with package information Info from https://repo.packagist.org: #StandWithUkraine Updating dependencies Nothing to modify in lock file Installing dependencies from lock file (including require-dev) Package operations: 0 installs, 1 update, 0 removals - Downloading drupal/core (9.5.10) - Upgrading drupal/core (9.5.2 => 9.5.10):...
Andrew Fletcher
On most of the sites I'm running the Google analytics ID is appearing....
Andrew Fletcher
How to set the Private file path in Drupal using the following steps: Create a...
Andrew Fletcher
Using Composer to Manage Projects and if required their dependencies In this...
Andrew Fletcher
If your Composer project doesn't have Drush listed as a dependency, you can...