Skip to main content
168
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
Changes to the Python3 package list post installing packages each of the...
Andrew Fletcher
Python3 error  None of PyTorch, TensorFlow >= 2.0, or Flax have been...
Andrew Fletcher
When running python openai command, I was greeted...
Andrew Fletcher
  Set up your server Begin by cleaning up your server environment.  Do...
Andrew Fletcher
Python3 Error ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/home/{project}/.local/lib/python3.8/site-packages/markupsafe/__init__.py)  Update all PIP packages pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -UHowever, this failed due to  AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'  To resolve the X509_V_FLAG_CB_ISSUER_CHECK error, run sudo pip3 install pyOpenSSL --upgrade sudo pip3...
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...
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 logged in. An introduction to PATCH command can be viewed on the Node PATCH command screen.  Secondly, review the user API, as it outlines the structure for each of the fields that can be included.  Finally, if you haven't already reviewed the introduction into setting up RESTful hal+json refer to the set-up documentation.  Also see the Query - user screen.  To be able to...
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...
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...