Skip to main content

Resolving PHP GD library issues in Drupal

Introduction

For a while now, one persistent issue has been bugging me: a warning on Drupal's 'status report' page that reads:

GD library

library bundled (2.1.0 compatible)

How to search for "text" in VS Code while excluding comments

When working with code in Visual Studio Code, you may need to search for specific instances of a function or method, such as self.logger.log. However, it can be frustrating to sift through lines that are commented out, like # self.logger.log. Fortunately, VS Code provides a powerful search feature that allows you to exclude these commented lines from your search results.

 

Best practices and methods on how to create a Drupal 10 patch

When working on Drupal projects, especially in a collaborative environment, it’s crucial to follow best practices for creating and managing patches. Patches are essential for contributing back to the community, applying quick fixes, or sharing custom changes with your team. In this article, we'll explore the recommended method for creating a Drupal 10 patch and discuss when it might be appropriate to use alternative approaches.

Troubleshooting PHP 8.3 mbstring issues on Ubuntu with Nginx

Maintaining a Drupal site is usually smooth sailing once the environment is properly set up. However, even in a stable environment, updates to modules can sometimes reveal underlying configuration issues that weren't apparent before. This was the case when I updated a contrib module on a Drupal 10.3 site, which suddenly started throwing errors related to the mbstring PHP extension.

 

Troubleshooting bash script errors - a guide to fixing line endings and hidden characters

If you’ve ever encountered strange errors while running a bash script, you’re not alone. Errors like : not found and Syntax error: end of file unexpected (expecting "then") can be particularly frustrating, especially when the script appears to be perfectly fine. This a situation that I had recently involving such errors and this article shows how I was able to resolve them, focusing on line endings and hidden characters.

How to create and use a Python virtual environment in your web project

Managing dependencies in a web project can be challenging, especially when different projects require different versions of the same packages. Virtual environments offer a solution by isolating project dependencies. This article will guide you through creating and using a Python virtual environment in a web project, specifically when using PHP to execute Python scripts.

 

Using Terminal shortcuts like a pro for efficient command-line navigation

Have you ever wanted to use Terminal with a more fluid style and increase your speed and efficiency? This article was inspired by watching a colleague navigate long lines of command navigation using only the arrow keys. While my pain threshold is high, seeing this during a group presentation was painful. It's time to sharpen your shortcuts for command-line navigation. Improving your understanding of Terminal can significantly boost your productivity as a developer.

How to track the history of Jira tickets moving in and out of a specific fix version

Managing and tracking the progress of Jira tickets is crucial for ensuring that projects stay on track. One common requirement is to monitor how Jira tickets move in and out of specific fix versions. This is useful for the team members who need to keep an eye on release planning and version control.

Subscribe to