Skip to main content
161
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
Working in Drupal 9.5 and I'm now getting the following cache tag error 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
Build the PHP base image with apache-buster using the Dockerfile.base Since JN blocks some libraries update and pull, follow the following steps to build the base image locally. Run the following command to build the base PHP image: Make sure you are in the project root directory before running the command and its a fresh window after changing the proxy docker build -f Dockerfile.base -t apachebuster8 .Errors running docker command If you experience errors when attempting to run the command...
Andrew Fletcher
This is a relatively quick process, beginning with dropping the database...
Andrew Fletcher
Tailwind CSS is a highly customisable framework that delivers developers the...
Andrew Fletcher
Currently, we are upgrading a site from Drupal 7 to Drupal 9.  During this...
Andrew Fletcher
Import a database lando db-import doj.sqlEnter the MySQL database lando mysql...
Andrew Fletcher
Explain public, private, protected functions and variables inside a class in PHP. I'll define a variable as a property public method or property this is the default and can be accessed anywhere protected method or property that can be accessed by the class that declared it or that inherits the class private method or property that can only be accessed by the class that declared...
Andrew Fletcher
Assuming there is a new field requiring a change on a content type. How do you...
Andrew Fletcher
Replicate Replicate the bug in your local environment. Check Check - do you have...
Andrew Fletcher
2 or 3 approaches to build a homepage or landing page through Drupal Please...
Andrew Fletcher
Drupal cache is one of the major subsystems that deliver Drupal's flexibility...