Skip to main content
167
results
Andrew Fletcher
When managing large directories filled with media like documents and images.  My current project directory totalling 32GB, therefore it's necessary to compress these files for easier handling and storage. However, not all files and subdirectories are needed in every archive. For instance, you might want to exclude temporary or non-essential folders from the compression. Is there a way to perform this selectively, using the zip command while specifying directories to exclude? When working on...
Andrew Fletcher
Recently I came across this piece of gold when dealing with databases,...
Andrew Fletcher
Dealing with errors in Drupal development is a common occurrence, and...
Andrew Fletcher
In the realm of system administration and monitoring, understanding memory usage...
Andrew Fletcher
Alright, picture this: you're knee-deep in Drupal 10 development, churning out...
Andrew Fletcher
I'm getting the following error TypeError: Cannot assign null to property Drupal\views\Plugin\views\argument\ArgumentPluginBase::$operator of type string in Drupal\views\Plugin\views\argument\ArgumentPluginBase->unpackArgumentValue() (line 1302 of core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php).As noted above, the relevant function is unpackArgumentValue ** * Splits an argument into value and operator properties on this instance. * * @param bool $force_int * ...
Andrew Fletcher
Have you ever walked into a situation at work and just wondered how everything...
Andrew Fletcher
The red flag was when I saw the server disk space is showing a site is taking up...
Andrew Fletcher
Extending the functionality of a contrib module in Drupal can enhance its...
Andrew Fletcher
When receiving a logic error such as LogicException: Form errors cannot be set...
Andrew Fletcher
Adding a new service to a custom module and the following error greeted me: The website encountered an unexpected error. Try again later. Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "summaries.reference_node". in Drupal\Component\DependencyInjection\Container->get() (line 157 of core/lib/Drupal/Component/DependencyInjection/Container.php).  This issue was related to a missing the namespace declaration at the top of...
Andrew Fletcher
  Continuing on from the Drupal 9 to Drupal 10 upgrade outline written...
Andrew Fletcher
To view the email before it's sent from Drupal, especially when using Drupal 10...
Andrew Fletcher
To run a SQL command using Drush, use the following sql-query command drush...
Andrew Fletcher
In Drupal, the logging system is based on the PSR-3 logging standard, which...