❌

Normal view

Custom Module Error Correction by a Non-Developer using Claude

I've had a business website running in Drupal since 4.x. While I have some technical background, I always had a developer setting up the initial site and creating some custom modules. I would add some contrib modules as needed. I occasionally would make very minor changes in the custom modules.

I'm currently running a 10.x site that I had a developer help migrate up. One particular part of the custom module displayed some charts via the Google Charts contrib module. My developer set it up initially and it worked fine.

At some point during upgrade cycles, the charts stopped working. I was busy, they weren't mission critical, my developer was busy, and I didn't make it a priority to get fixed. It didn't look bad for my customers, just one relatively minor feature was not appearing.

During a recent security upgrade, the module started creating errors that showed up on the live site. Stuff that potentially looked off-putting to my customers.

I wanted to continue with the upgrade and thought: "How about this AI coding stuff?" I have only done one coding thing in AI before, a script for the CAD package I use. I can understand error messages enough to understand what modules were involved. I figured this would be a pretty safe experiment, just fixing some code to make it happy with the current Drupal environment.

I went to Claude, fed it all the files I thought might be involved. Fed it the errors I was seeing on the screen and from the system log and asked it if it could fix the problem. It said it could, it suggested changes to various files, and I obediently made the changes. It generated errors, I fed the errors back to Claude, more changes, more errors, changes, etc. until I hit a dead end...

Learning from my previous effort, I did a hard reset, started a new chat session, fed it more files than last time, fed it errors, made one query to send it in a direction that averted the dead end from last time, made the suggested changes, reported the errors, repeated that a few times until the errors disappeared, and then low and behold, the charts worked again.

Again, I know virtually nothing about the coding structure of Drupal, how to create modules, or make API calls. I can use Composer, Drush, and git, that's about it. My experience with Claude and ChatGPT is primarily researching the history of stuff and drafting legal documents. I understand that there are ways to set up Claude to do coding work, but I don't know what they are. I just asked it to fix the errors and learned enough during the 40-something minutes of effort to make it work. I will not vouch for the quality of the fix, but my site looks good.

I would have happily paid my developer to make the fix; they had more pressing jobs. I would have just let it slide, but I was interested to see what was possible, and I am impressed. Its not that Claude did something that is difficult, but that it allowed me to do something that was fairly easy but I didn't have the skills to do alone.

BTW, I let my Mac proofread this. It added some commas and a semicolon.

submitted by /u/Guillemot
[link] [comments]

Ubuntu/Debian Package Mirror Failure

Mar 9, 19:23 UTC
Resolved - From 17:50 to 19:06 UTC, Our Engineering team observed an issue with mirrors.digitalocean.com. During this time, users may have experienced errors when trying to update packages on Debian and Ubuntu Images. Our team has fully resolved the issues as of 19:06 UTC. If you continue to experience problems, please open a ticket with our support team from within your Cloud Control Panel. We apologize for any inconvenience caused.

Do you really know how your website is performing?

We’re bringing the DrupalFit Challenge to DrupalCon Chicago!

We’re inviting the Drupal community to submit their websites for the DrupalFit Challenge – Chicago Edition.

Using our tool DrupalFit, we’ll audit submitted Drupal websites across key areas. The top websites will be recognized across five award categories, and the winners will be announced live at DrupalCon Chicago.

Winner will get exciting rewards!

If you’d like to showcase your Drupal project and see how it performs, we’d love for you to participate!

Submit your website here:
https://forms.gle/ik9XLR6kkMm9ygd66

submitted by /u/Vivid_Breadfruit_183
[link] [comments]

Small higher Ed university is looking for freelancer or small firms to help to migrate from modern campus to drupal

I asked here before or Drupal would be good for it and while I got positive feedback I am still looking for a couple more proposals and options. Since the webpages have some issues. The university would on many pages provide json files with fixed headers and bodies.

If you are a freelancer or small firm, let me know and maybe we can see if we could work on that.

We are talking about a full website setup and probably somewhere between 1000 and 1800 pages they need to be moved. I am still working on precise numbers.

I asked the mods by modmail of I could post it here but they didn't get back to me with any answer, so I guess it's allowed.

submitted by /u/HikeTheSky
[link] [comments]

HTTP 522 Error on App Platform

Mar 6, 21:22 UTC
Resolved - Our Engineering team identified an issue affecting the App Platform. During the incident, users may have experienced HTTP 522 (Connection Timed Out) errors when accessing their apps. The issue seems to be resolved now.

We apologize for the inconvenience caused. If you continue to experience any related errors, please contact our Support team by opening a ticket at https://www.digitalocean.com/support/contact/.

Drupal Resources Recently Compiled

We compiled a curated selection of reliable Drupal resources for developers and site builders of all levels.
This is a purely informational resource with no ads or affiliate links.

It covers official documentation, tutorials, free e-books/guides, code examples, video courses, cheat sheets (Twig, Form API, etc.), themes/templates, extensions/modules (Token, Pathauto, etc.), Composer/Drush integration, Docker/local dev tools (Lando, DDEV), and more.

https://rshweb.com/blog-drupal-resource-tools

Suggestions for additional high-quality resources or recommendations to improve the list are always welcome.
Thanks

submitted by /u/rshweb1010
[link] [comments]

App Platform Deployments

Mar 6, 01:12 UTC
Resolved - As of 00:22 UTC, our Engineering team has confirmed that the issue causing delays in App Platform deployments has been fully resolved. The fix implemented earlier has been successful, and we are no longer seeing any delays or errors with deployments.

Users should now be able to deploy their apps successfully and without any issues. We apologize again for the inconvenience caused.

However, if you continue to experience any issues, please don't hesitate to raise a support ticket for further investigation.

Mar 6, 00:32 UTC
Monitoring - Our Engineering team has implemented a fix to address the issue causing delays in App Platform deployments. We are actively monitoring the situation to ensure overall stability.

We appreciate your patience and will provide a further update once the issue is fully confirmed to be resolved.

Mar 5, 23:28 UTC
Investigating - Our Engineering team is currently investigating an issue impacting App Platform deployments. During this time, users may experience a delay or failure when deploying new and existing App Platform apps.

We apologize for any inconvenience, and we'll share more information as it becomes available.

I built an OAuth 2.0 WebMCP bridge for Drupal so AI agents can interact with your site securely [New Module]

I wanted AI agents to be able to search and retrieve content from my Drupal site without exposing passwords or bypassing Drupal's permission system. I couldn't find anything that did this securely, so I built it.

AI Connect (webmcp_connect) is a Drupal module that lets AI agents interact with your site via OAuth 2.0 + PKCE β€” the same standard as Google and GitHub.

Real example: Tell Claude: "Search my site for articles about climate change and summarize the top 5" β€” it authenticates as you, with your permissions, and returns only what you're allowed to see.

What's included: - 7 tools: search nodes, get content, search/get comments, current user info, translation - Auto-registration of OAuth clients (no pre-configuration needed) - Localhost redirect URI support for Claude Desktop / MCP clients - Token lifecycle management (refresh, revocation, rate limiting)

Installation:

composer require drupal/webmcp_connect drush en ai_connect -y 

Links: - Drupal.org: https://www.drupal.org/project/webmcp_connect - Docs: https://git.drupalcode.org/project/webmcp_connect

This is v1.0 β€” what tools would be most useful for your use case?

submitted by /u/Every_Individual_571
[link] [comments]

Internal Load Balancers Connectivity

Mar 5, 01:52 UTC
Resolved - From 19:57 UTC to 01:03 UTC, customers may have experienced connectivity issues between Internal Load Balancers and their associated target droplets, which could have resulted in service disruption or traffic routing failures.

Our Engineering team has confirmed full resolution of the issue, and Internal Load Balancers should now be functioning normally.

If you continue to experience any problems, please open a ticket with our Support team. We apologize for any inconvenience caused.

Mar 5, 01:19 UTC
Monitoring - Our Engineering team has implemented mitigation measures to address the connectivity issues affecting Internal Load Balancers and their associated target droplets. We are actively monitoring the situation to ensure stability and to prevent any recurrence.

We will provide a further update once we confirm the issue is fully resolved.

Mar 5, 00:23 UTC
Investigating - Our Engineering team is investigating an issue affecting Internal Load Balancers. Customers may experience connectivity loss between Internal Load Balancers and their associated target droplets.

We apologize for the inconvenience and will share an update as soon as more information becomes available.

Career Pivot Advice (As frontend dev)

Hello peoples,

So I'm a mid-level Drupal Frontend dev, and I'm a little bit cooked as the kids would say.

Essentially I strayed away from coding in 2023 thinking I would always have the option to come back (wanted to try another career avenue that also got decimated). Lo and behold, all remote job opportunites all seem to have evaporated (at least in Canada). Sorta had put all my eggs in one basket hyper specializing in Drupal Frontend development thinking there would always be remote opportunities...

Anyways, times change, gotta focus on reskilling/upskilling.

So any drupal frontend devs that have had success stories? Any advice?

Should I spend the next months expanding knowledge in another framework? Or learning something such as CNC programming, or accessibility, or QA, etc.

(Got a full time job, so not red alert, but also need to switch asap)

Cheers

submitted by /u/Caster_Oh
[link] [comments]

How to prevent term ID next to taxonomy terms?

When I select a term in Views search form it shows the term ID next to the selected term e.g. Apple (13).

How do I stop it from displaying the term ID next to the term?

Also wondering what is the practical use of this feature when it is meaningless and confusing for the end user?

submitted by /u/1ozu1
[link] [comments]
❌