r/drupal

▲ 196 r/drupal+3 crossposts

PHPStan 2.3: Leap in Performance, Generics Improvements, Detecting Unused Variables, and More!

PHPStan 2.3: Leap in Performance, Generics Improvements, Detecting Unused Variables, and More!

I had so much fun with the interactive charts and widgets, check out the article. I promise it's worth checking it out yourself, and not just letting your agent summarize it for you 😉 It contains a lot of interactive widgets with practical examples of the new features in action.

phpstan.org
u/OndrejMirtes — 9 days ago
▲ 106 r/drupal

Future of r/Drupal

Hey everyone.

When I took over r/Drupal quite a few years ago now, it was basically dead. It took time but it’s built itself up to be a resource many have turned to over that time. From our community AMA days to people finding support, people found something here.

I lost my employment end of last year and have had almost no luck finding a new position. This has caused me to start seriously considering my future in the industry over the next while.

So, I am looking to have someone from the community to take over r/Drupal and help guide it into the future.

If you or your organization would like to take over this sub send me a mod mail or direct chat and tell me why you’d like to take it over and how you would help move the mission of Drupal forward.

I am not looking to give it away to just anyone. I want to keep the spirit of Drupal and what made it special (its community) here on Reddit.

Thank you all for being part of this amazing journey so far.

>!(I wouldn’t refuse job offers too but that’s not the point of this sub, of course ;) )!<

reddit.com
u/remog — 10 days ago
▲ 47 r/drupal

Drupalcamp Colorado Photos

I'm working on a project. If you have attended #Drupalcamp Colorado events in the past, I need photos. Particularly photos from the camps I am looking for photos that were taken at Drupalcamp Colorado in 2017, 2018, 2019, 2020, 2021, 2022, 2023, and 2024. In 2020 and 2021, the camp was virtual - so those might just be screenshots.

Any photos, albums, etc from any years would be great. But those years are of particular interest!

Help me [fill in your name], you're my only hope!

And PLEASE PLEASE PLEASE share this with your network. Particularly if you've got #Drupal friends who might have attended.

u/Drupal_MatthewS — 7 days ago
▲ 2 r/drupal

Drupal Theme Issue After Update

Background - I have been maintaining a Drupal site for years, but I am a casual that doesn't really know much. I started on Drupal 8 and survived a migration over to Drupal 10 and switched themes at that point to "Drupal8 W3CSS Sub-theme". I get by but ultimately I don't really know what I am doing.

Today I saw an update to the theme I am using and I foolishly installed it with composer. I now get the error:

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "Drupal\drupal8_w3css_theme\Hook\Drupal8W3cssThemeHooks". in Drupal\Component\DependencyInjection\Container->get()

Been googling and using AI recommendations for a fix but so far no luck sorting it out. I decided to then install the Solo theme which is the latest generation of W3CSS. I installed it fresh and switched over, and that resulted in the following error instead:

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "Drupal\solo\Hook\SoloThemePreprocessHooks". in Drupal\Component\DependencyInjection\Container->get(

I have cleared the cache with drush each time and verified that these files do exist where you would expect them to be. I have also used composer to check for outdated components and none are red, although a number are yellow.

If I switch to a completely different theme then my site loads, although it is very malformed, so I am hoping to get one of the above themes working rather than having to do implement a completely new theme.

Any advice for me?

reddit.com
u/fangarr — 9 days ago
▲ 1 r/drupal

Vibing Drupal: Tale 2 - Using AI to maintain a module, exploring the AI-possible

Adopting AI can feel overwhelming, so I am sharing a few tales from my experience creating, maintaining, and assisting with contributed Drupal modules. AI can do a decent job of building a "greenfield" Drupal module from scratch, so my first tale is about using AI to build and contribute a module. For my next tale, I want to talk about using AI to maintain an existing "brownfield" Drupal module and to explore what is possible with AI.

Do you fall into the AI-possible camp, the AI-cautious camp, or somewhere in between?

jrockowitz.com
u/jrockowitz — 9 days ago
▲ 60 r/drupal+5 crossposts

Are you running Wordpress on MariaDB or something else? Survey on database usage open

Hey, Robert from the MariaDB Foundation here. We got a lot of WordPress responses when I shared our survey here last year, so I thought I'd share that this year's edition is open:

https://mariadb.typeform.com/to/tS69UzVo?utm_source=reddit_wordpress

We revamped the questions for broader insights: MariaDB, MySQL, PostgreSQL or other database users are welcome. We also split questions by role (developer, dba, provider, etc), so just answer the ones that fit you.

We read every answer, and the anonymous results including free-text answers will again be public on mariadb.org/survey . You'll be done in under 10 minutes :) Thanks for taking the time!

A lot of WordPress runs on MariaDB, so your voice really counts here.
Robert, MariaDB Foundation

u/robertsilen — 13 days ago
▲ 5 r/drupal+1 crossposts

Is anyone here using Drupal Steward?

Every software platform eventually deals with serious vulnerabilities.

So when evaluating a platform's security, I don't think "Has this software ever had a serious vulnerability?" is a particularly useful question.

A better question is: What happens when one is found?

I started thinking about this after reading about the recent Citrix NetScaler zero-day. It also got me thinking about something Drupal has built specifically for that uncomfortable period between disclosure of a critical vulnerability and getting the actual patch deployed: Drupal Steward.

For certain highly critical, mass-exploitable vulnerabilities, Steward can provide network-level protection while organizations test and deploy the software update. It doesn't replace patching, but it can make that "patch gap" less dangerous.

I dug into Steward, Drupal's coordinated security process, and why I think the response to vulnerabilities tells us more about a platform's security than the existence of vulnerabilities themselves:

Zero-Days Happen. What Matters Is What Happens Next.

I'm especially curious: who here is actually using Drupal Steward? What's your experience been with it?

u/tekNorah — 9 days ago