Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This is part question, part frustrated rant. I'm rebuilding my ecommerce site in D9 from D7, and am migrating from Ubercart to Drupal Commerce. Why on god's green earth did the commerce guys build Drupal Commerce products like this? First of all, why are products not nodes anymore? But that's a minor gripe.
I have a media type "Library Image". When I create a Feed type for this media type, the Content Page completely crashes giving the message "The website encountered an unexpected error. Please try again later." Deleting the feed type removes this problem.
Why might this be happening? Might it be related to the "Feeds item" field that is automatically created by the Feeds module? For reference, the media type in question has nearly 30 fields, most of which are Entity Reference types referencing Taxonomy terms.
Cron warns me that the 'trusted_host-pattern' in my settings.php hasn't been set yet, and that might cause security problems. However, I did set it according to the rules. But still cron comes back with that warning. Now I find that at te beginning of settings.php, there's this:
<?php
// phpcs:ignoreFile
Does that mean that this settings.php is being ignored completely? And in that case, what do I need to change? TIA
I use the Inline Entity Form module to build nested multiple forms. I have a design form in which there is an inline form - garment. And inside the garment form, there is a product field.
In the hook_inline_entity_form_entity_form_alter() I get $field_product_user_input