Account created on 28 March 2015, about 9 years ago
#

Recent comments

πŸ‡§πŸ‡ͺBelgium Belba

Belba β†’ created an issue.

πŸ‡§πŸ‡ͺBelgium Belba

Path #2 worked, as I had the same error.

πŸ‡§πŸ‡ͺBelgium Belba

@MukhtarM, thanks for the patch, this is working fine.

The same warning appears also in the files: \advagg\advagg_js_minify\jsqueeze.inc
\advagg\advagg_bundler\src\Asset\AdvaggCssCollectionGrouper.php

I add the following attribute, just before the class : #[\AllowDynamicProperties]
This takes the error message away, but i asume the approach from Mukthar is a better solution.

πŸ‡§πŸ‡ͺBelgium Belba

Thanks to the people above for getting this working.

Followed the instructions above and had a well-functioning term reference tree for months. Recently I updated my website to version 10.1 and suddenly the tree no longer works, the exposed filters disappear. Is there anyone experiencing the same problem? Are there changes to be made to the code?

πŸ‡§πŸ‡ͺBelgium Belba

@Lendude

Thanks for the follow up.

The most important step is that there must be a filter of type entity reference(taxonomy) field in the exposed form.

To save work you can make views of articles and in the filter criteria make a filter on the 'field_tags'. Also create a filter for the titles, as you did in the previous section. The exposed filter is shown! The title of this topic has been edited by another user.

Then go to the TWIG template responsible for displaying the views exposed form : views-exposed-form.html.twig. Do a {{ dump() }} function to inspect the variables. The result is not displayed, the exposed form disappears.

Remove the filter from the type entity reference field of the views filter. Everything works as expected. The problem only arises with fields of type entity reference(taxonomy).

The problem is not there in version 10.0.9. It does in both versions 10.1.0 and 10.1.1.

πŸ‡§πŸ‡ͺBelgium Belba

@shailja179

Thank you for the answer. I did add the block, with the exposed form to the header of my page. I updated this in the steps. I should have been more clear. The issue persist.

πŸ‡§πŸ‡ͺBelgium Belba

First of all I would like to thank the builder of this module. This is a beautiful module with huge potential.

Is there already a solution for this problem? I tested the module in Drupal 10. PHP 8.1. Most of the fields I've tried so far work flawlessly.

However, I can't get the entity reference to work. In the first part I set the fields for the database, then I tried with both multiple values and limited values1. The next step I tried to select both entity reference and taxonomy term. There is a description : Save and back again to select bundle. When I save, I can't return, a white page with error appears : The website encountered an unexpected error. Please try again later.

I have added the data field to an article. Existing articles can no longer be edited. New articles can no longer be created. When I check the database, the table is created, but I don't see a column with target id.

The log message states the following:
InvalidArgumentException: Missing required #autocreate['bundle'] parameter.

Production build 0.69.0 2024