❌

Reading view

Upgrade from 11.3.x to 11.4.0 results in a 500 error

So I did a standard composer upgrade.

sudo -u www-data /usr/bin/php8.4 /usr/local/bin/composer update "drupal/*" --with-all-dependencies

and all went well.
Then I opened my browser at example.com/update.php and got a 500.

AH01071: Got error 'PHP message: PHP Warning: require_once(autoload_runtime.php): Failed to open stream: No such file or directory in /var/www/website.com/web/update.php on line 13; PHP message: PHP Fatal error: Uncaught Error: Failed opening required 'autoload_runtime.php' (include_path='.:/usr/share/php') in /var/www/website.com/web/update.php:13\nStack trace:\n#0 {main}\n thrown in /var/www/website.com/web/update.php on line 13'

So in the update.php and the index.php I had to change this bit:

// require_once 'autoload_runtime.php';
require_once __DIR__ . '/../vendor/autoload_runtime.php';

What's wrong on my system? I can't imagine this should need to be done?

submitted by /u/Chris8080
[link] [comments]
  •  

Pure site building, 0 code: Do customers / friends pass you by vibe coding with Loveable and others?

Hello everybody,

I'm helping customers with specific types of sites (similar to customer portals) which often contain some part of basic functionality and a lot of custom ideas.

My approach is usually 0 code (if I can avoid it).

So I'm really deep inside configuration / modules / etc.

Parts can be easily exported as configurations / recipes.

Some other parts are often quite custom.

Custom views with custom permissions, tags, ECA etc.

I see some customers / people I know just vibe coding everything in Lovable and similar solutions and I'm still clicking around in the admin area.

For the configuration / site building part of Drupal where you configure specific modules etc.:
Do you use any AI?
How to improve building speed there?

(not talking about Canvas landing pages - more features like inquiries, customer dashboards etc.)

submitted by /u/Chris8080
[link] [comments]
  •  

How to create (seo compliant) FAQs per page / node on my Drupal website?

Hello,

there are a few different ways to create FAQs as it seems.
In one page / layout builder / node, I'd like to add some FAQ items.
They are directly related to the content of the page.
They should contain the JSON-LD / microformat markup for SEO purposes.

What's your recommendation there?
(without custom development)

submitted by /u/Chris8080
[link] [comments]
  •  

Views AJAX / live update possible?

Hello,

I've got a content type with a boolean switch: "top".
And I've got two view blocks on one layout builder page.

If on node gets updated now and the the switch is set to off / false, the node should move from the top views block into the bottom views block.

When I reload the page, the views filters kick in and everything is working fine.
Is this possible to do live / right away somehow without reloading the whole page?

submitted by /u/Chris8080
[link] [comments]
  •  
❌