developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
198
results
Andrew Fletcher
•
Recently, I encountered an issue where my local Docker environment refused to connect to AWS S3, although everything worked seamlessly in AWS-managed environments. This challenge was not just a technical hurdle; it was a crucial bottleneck that needed resolution to ensure smooth Drupal deployments across various AWS environments.
Integrating AWS S3 into a local Docker container running Drupal 10 is more than just a technical setup; it’s a transformation that enhances your website’s scalability...
Andrew Fletcher
•
When managing a server or developing applications, particularly on an Ubuntu...
Andrew Fletcher
•
To review the content of files being generated in the /tmp directory on an...
Andrew Fletcher
•
The issue – I have a content type that includes an entity reference revisions...
Andrew Fletcher
•
When building a theme in Drupal, it's often necessary to adapt your site’s UI...
Andrew Fletcher
•
Dealing with errors in Drupal development is a common occurrence, and understanding how to interpret and resolve them is essential for smooth development workflows. In this article, we'll delve into a specific error message related to render arrays in Drupal and discuss steps to diagnose and fix the issue.
The error
User error: "attributes" is an invalid render array key in Drupal\Core\Render\Element::children() (line 98 of...
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...
Andrew Fletcher
•
A growing list of commands I've used and what they do in no specific order
sudo...
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 57992.5 MB, where locally the site size is showing 957MB. There is something serious happening here and I need to establish the problem quickly. When dealing with a significant discrepancy in site size between a local environment and a server, it's important to identify the root cause of the larger disk usage on the server.
Approaches for discovering the issue(s)
1. Analyse Large...
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
•
When Solr is displaying results on the site, first step is to log in the server...
Andrew Fletcher
•
Adding a new service to a custom module and the following error greeted me:
The...