Skip to main content
31
results
Andrew Fletcher
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4 to 8.1.  However, when I've attempted to export the MySQL database using the command drush sql-dump --extra-dump=--no-tablespaces --result-file=../sql/db-2023-02-25.sqlI seeing the following response > mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need (at least one of) the RELOAD or FLUSH_TABLES privilege(s) for this operation (1227) In SqlCommands.php line 242: Unable to dump...
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
This is a relatively quick process, beginning with dropping the database...
Andrew Fletcher
Import a database lando db-import doj.sqlEnter the MySQL database lando mysql...
Andrew Fletcher
How do you rebuild node access permissions using CLI? To rebuild permissions from the command-line using Drush: drush php-eval 'node_access_rebuild();'Or using Drupal Console: drupal node:access:rebuild 
Andrew Fletcher
Attempting to update the database, irrespective whether I run update.php or...
Andrew Fletcher
Do you want to know how to add a node alias in a twig file?  Rather than do...
Andrew Fletcher
Is Docker installed? Check if your installation is ok and spin up Docker as...
Andrew Fletcher
Having access to a site’s URL in your templates can come in handy for many...
Andrew Fletcher
Having Drupal Solr Search APi running, I thought adding synonyms to the mix would be a smooth process.   Install synonym module I cam across a synonym module created by Jens Beltofte - Search API Synonym.  Working on a Drupal 9.3.x installation, this module needs to be accessed via Git Search API Synonym, There are lots of great tips as you work through the installation, depending on what version of Drupal and Drush you are using.   Drush commands Once you have...
Andrew Fletcher
I want to create a content type that has a paragraph.  Easy enough. What...
Andrew Fletcher
Since upgrading to Drupal 9.3.0 have you come across this error? Edit...
Andrew Fletcher
When you have an entity ID value such as node ID (nid) or taxonomy term ID, how...
Andrew Fletcher
Working in Twig, I had to add classes to a pre-existing array.  Whilst I've...