Skip to main content
426
results
Andrew Fletcher
When reloading a page, you may encounter the following error: Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/content/core/lib/Drupal/Core/{some file .php} on line n  Solution To resolve this issue, you need to adjust the max_execution_time parameter in the php.ini file. Use the following command to locate your php.ini file: php --iniThe response will be similar to Configuration File (php.ini) Path: /usr/local/etc/php Loaded Configuration File: ...
Andrew Fletcher
Overview of the elements Set Up API Keys Obtain API keys for Pinecone and...
Andrew Fletcher
Lando is a local development environment tool, and it might not directly support...
Andrew Fletcher
The issue of over 300 simultaneous database connections in the context of AWS...
Andrew Fletcher
Finalising a deployment to Drupal 10 and reviewing the latest log...
Andrew Fletcher
The error message "Attempting to re-run cron while it is already running" in Drupal typically indicates that another instance of the cron job is still running when the system tries to start a new one. Cron is a process that performs various tasks for Drupal, such as indexing content, checking for updates, and performing other scheduled tasks. Some potential causes and solutions for this issue Long-Running Cron Jobs If a cron job takes longer to complete than the interval between cron runs, it...
Andrew Fletcher
As you're using Bootstrap 5 and applying a style for the hover state of an...
Andrew Fletcher
Lando is a development environment tool that makes it easier to set up and...
Andrew Fletcher
The error message "RuntimeError: Directory 'static/' does not exist" typically...
Andrew Fletcher
It seems like you're using the CharacterTextSplitter class from the tiktoken...
Andrew Fletcher
In Drupal Twig templates, you can set a variable like paragraph_parent to the parent entity of a paragraph using the paragraph.getParentEntity() method. This is a common approach when you want to access the parent entity (e.g., a node) that contains the paragraph.  Here's how you can do it: {# Get the parent entity (e.g., node) of the paragraph #} {% set paragraph_parent = paragraph.getParentEntity() %} {# Now you can access properties of the parent entity #} {{ paragraph_parent.title.value...
Andrew Fletcher
Docker containers list To view a list of Docker containers that are currently...
Andrew Fletcher
The viewport meta tag in a website's HTML is used to control how the webpage is...
Andrew Fletcher
If the Android app icon is not changing from the default icon (in my situation...
Andrew Fletcher
To use OpenAI to summarise text from a PDF using Python 3.11.6, you'll first...