Skip to main content
181
results
Andrew Fletcher
In Drupal, the logging system is based on the PSR-3 logging standard, which Drupal integrates through the \Psr\Log\LoggerInterface. When you want to log messages, you typically use placeholders in your message string, which are replaced with context array values. However, if you're dealing with a situation where you have a complex message or an object implementing the \Drupal\Core\Logger\RfcLogLevel\MessageInterface, and you want to log the entire object or message as it is, you might need to...
Andrew Fletcher
Working through the following error Notice: Only variables should be passed by...
Andrew Fletcher
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial...
Andrew Fletcher
Using Drupal 10, VIews, Solr and Facets has post upgrade to version 10, created...
Andrew Fletcher
Attempting to apply a patch in Drupal 10.2.4 that had been working until this...
Andrew Fletcher
Drush open_basedir restriction error PHP Warning: include(): open_basedir restriction in effect. File(/usr/share/drush/includes/startup.inc) is not within the allowed path(s): (/var/www/vhosts/{domain}/:/tmp/) in /usr/share/drush/drush on line 113 PHP Warning: include(/usr/share/drush/includes/startup.inc): Failed to open stream: Operation not permitted in /usr/share/drush/drush on line 113 PHP Warning: include(): Failed opening '/usr/share/drush/includes/startup.inc' for inclusion...
Andrew Fletcher
In many terminal text editors, you use find command as reference in Terminal...
Andrew Fletcher
Having updated Solr, re-indexing wasn't working. The error in the logs...
Andrew Fletcher
In an environment that is running Ubuntu 20.02 Nginx Solr   The default...
Andrew Fletcher
Have you had the situation where you needed to compare the files recorded in the...
Andrew Fletcher
You can perform the following steps: Check Apache Modules Apache Struts 2 is typically integrated with Java applications and runs on servlet containers like Apache Tomcat. However, if you want to check for any signs of Struts 2 on Apache, you can look for loaded Apache modules. Run the following command: apache2ctl -MLook for modules related to Struts or Java. For example, if you see a module named mod_struts or anything related to Java, it might indicate Struts 2 is installed. Response Command...
Andrew Fletcher
These steps are for Drupal 8 and 9.   Export your database Order here is...
Andrew Fletcher
When reloading a page, you may encounter the following error: Fatal error:...
Andrew Fletcher
Overview of the elements Set Up API Keys Obtain API keys for Pinecone and...
Andrew Fletcher
The issue of over 300 simultaneous database connections in the context of AWS...