- Issue created by @godsman
@godsman On my Drupal 10.4 site, I am unable to replicate this issue.
Kindly uninstall and remove the module and then require the module again through composer : composer require 'drupal/content_redirect_to_front:^9.0' & then enable the module through admin interface. This will proably fix the issue.- πΈπ°Slovakia kaszarobert
According to this a module called "blocache" is installed on the site: https://www.drupal.org/project/blocache β
call_user_func_array('Drupal\blocache\BlocacheViewBuilder::preRender', Array) (Line: 113) Drupal\Core\Render\Renderer->doTrustedCallback('Drupal\blocache\BlocacheViewBuilder::preRender', Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 870) Drupal\Core\Render\Renderer->doCallback('#pre_render', 'Drupal\blocache\BlocacheViewBuilder::preRender', Array) (Line: 432)
@nidhish can you please check it if you can reproduce the problem after installing content_redirect_to_front and blocache, too? To detect the source of the problem we need to reproduce it from clean install.
@kaszarobert I am still able to access the Content Redirect to Front Settings at admin/config/content/content_redirect_to_front_settings and also able to save the configurations, even after enabling the blocache v2.0.0 on my drupal 10.4 site. There could be some issue with a specific Drupal version or some other module. Kindly mention your drupal version, so I can try to replicate the issue.
- πΊπ¦Ukraine godsman
@nidhish When you install the module on a clean Drupal 10 site, this error does not occur. The issue arises on sites that have been upgraded from Drupal 7 to 10 or, as in my case, from Drupal 9 to 10. I will try your advice to uninstall and reinstall the module, and I will provide an update afterward.
- Merge request !5Issue #3492214 by godsman, nidhish, kaszarobert: Missing required data for... β (Merged) created by kaszarobert
-
kaszarobert β
committed 2fb1e994 on 9.0.x
Issue #3492214 by godsman, nidhish, kaszarobert: Missing required data...
-
kaszarobert β
committed 2fb1e994 on 9.0.x
- πΈπ°Slovakia kaszarobert
I managed to reproduce the issue on a non English Drupal 10 site. The cause of the problem was that there was no default config values provided during install and while this is not a problem on single language sites, when config_translation is enabled on multi language sites, then it throws this as Drupal loads FALSE instead of the config object.
I put out a new release with a fix. Run the database updates or reinstall the module.
Automatically closed - issue fixed for 2 weeks with no activity.