I had the same issue on my website.
Found out that using DependencySerializationTrait
solves the issue.
We had the same issue on one of our website.
The issue is the variable in system.performance is deprecated, and was deleted by D9 -> D10 migration.
stale_file_threshold:
type: integer
label: 'Stale file threshold'
deprecated: 'The system.performance.stale_file_threshold config key is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/3301744'
During the cron, AdvAgg tries to delete files modified after this value.
Since it's now empty, it means 0, so files are deleted immediatly.
In the cache, file is still mark as active, drupal tries to load it, but it results in a "404 - not found"
We managed to solve this issue by re submiting AdvAgg settings form which sets back the stale_file_threshold value.
I thins a better approch would be to patch the module with the patch present in this issue: https://www.drupal.org/project/advagg/issues/3410820 π 'stale_file_threshold' is not a supported key RTBC
Regards !
I had the same issue.
After taking a look at `EntityViewController::buildTitle()`, I saw at the end:
// Prevent output of the label field in the main content.
$page[$label_field]['#access'] = FALSE;
So I made this hook
function MY_MODULE_preprocess_node(&$variables) {
$variables['content']['title']['#access'] = true;
}
And it seams to do the job, at least for me.
I Hope I'm not breaking something, :)
La vague illuminee β changed the visibility of the branch 3286024-automated-drupal-10 to active.
La vague illuminee β changed the visibility of the branch 3286024-automated-drupal-10 to hidden.
I had to patch it for 3.x branch, here's the patch.
Opened a MR in which I applied the patch and created the composer.json.
If you want to use it before it's merged, update your composer.json to add the repo
"repositories": [
{
"type": "vcs",
"url": "https://git.drupalcode.org/issue/image_radios-3287981"
},
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
And require the module with this branch :
composer require drupal/image_radios:dev-3287981-automated-drupal-10
La vague illuminee β made their first commit to this issueβs fork.
La vague illuminee β created an issue.
La vague illuminee β made their first commit to this issueβs fork.
La vague illuminee β created an issue.
My ugly quick and dirty diff.
No warranty !
I commented, in the following file `ui_patterns_views.module` lines 53 to 56
// if ($view->preview && !isset($view->element['#embed'])) {
// \Drupal::messenger()->addWarning(t('Pattern Views row plugin does not support preview.'));
// $variables['pattern'] = ['#type' => 'status_messages'];
// }
/*else*/
And it seams to work.
But I'd like to know why you disables preview for patterns ? For perf? Other reason ?
Regards.
La vague illuminee β created an issue.
I added tests for this issue, but the function public static function processFields(array $element)
is not tested.
And I don't know how to create test for it.
Guillaume Aveline β created an issue.
Patch edit : add 'isModeratedEntity()' function in moderation handler
Here's my attempt of porting the patch for 8.x-1.4.
Works on Drupal 9.5
Hope that helps somebody.
Sorry for the multiple push. I squashed my commits into one.
Their was an issue with a deprecated function call "system_sort_modules_by_info_name" (see https://www.drupal.org/node/3225999 β ) fixed in the branch.
Guillaume Aveline β made their first commit to this issueβs fork.
Guillaume Aveline β made their first commit to this issueβs fork.
Guillaume Aveline β made their first commit to this issueβs fork.
Sorry for double merge request. :)
Guillaume Aveline β made their first commit to this issueβs fork.
Guillaume Aveline β created an issue.
Guillaume Aveline β made their first commit to this issueβs fork.