- Issue created by @cebab54
- ๐ฎ๐ณIndia zeeshan_khan
For Mobile Detect issue please check if the module is upgraded to latest version 3.0.6
- ๐ฌ๐งUnited Kingdom cebab54
Yes Mobile Detect is the latest version installed is 3.0.6
- ๐ฌ๐งUnited Kingdom cebab54
Re #2
I do not have CK4 installed - it was deprecated in Drupal 9 and I installed CK5 instead - CK4 is not available in Drupal 10
How do I check what Plugins are allegedly installed on the site?The link you have provided doesnt seem to relate to the issue I have as far as I can see
Hello,
Have you found a solution to this? I'm having the same problem popping up on a site and haven't been able to figure out where it stems from.
- ๐ฌ๐งUnited Kingdom cebab54
@dgray12
Unfortunately not and it is consuming my time, I believe I will need to re-install Drupal 9.5 and perhaps rebuild the site from scratch again. Since building the site in Drupal 8, I have only added Modules using Composer and Drush. If the error 'Failure' message held more clued or somebody could suggest where I coulf find the NULL entry in the database I might be able to trace the errant module down, but I have no idea what or how to find out what is causing this error. Its a huge issue without an answer.
I have no idea what or how to find out what is causing this error
I donโt mean this to sound glib, but you could use a PHP debugger to uncover the cause. You could get a stack trace.
Hello,
I was able to solve this issue on the website where this was happening, and it wasn't really tied to a module in my case. I used the module 'Devel' and 'Devel Entity Updates' to better debug.
I enabled 'Config Editor' under the Devel 'Configure' link. Under 'Config Editor', I looked at every configuration that starts with 'core.entity_view_mode', checking to see if they were missing any values. I noticed a single one where the targetEntityType was set to 'null'. I deleted this configuration, ran the DB script and it seemed to run with no issues.
I hope this helps!
- ๐ฎ๐ณIndia sumithra ramalingam
@dgray12 worked for me, Thank you.
I have used drush command to edit the config and verified the configuration that starts with 'core.entity_view_mode'.
Deleted the configuration which was having targetEntityType null and the ran the update.php.All good now !
- ๐ฌ๐งUnited Kingdom cebab54
Running: drush updatedb:status --strict=0
I get:
-------- ------------------ ------------- ------------------------------------
Module Update ID Type Description
-------- ------------------ ------------- ------------------------------------
system add_description_ post-update Update description for view modes.
to_entity_view_modesystem enable_password_ post-update Enable the password compatibility
compatibility module.system linkset_settings post-update Add new menu linkset endpoint
setting.system mailer_dsn_settings post-update Add new default mail transport
dsn.system remove_asset_entries post-update Remove redundant asset state and
config.system remove_asset_query post-update Remove redundant asset query
_string string state.system set_blank_log_url post-update Updates
_to_null system.them
e.global:logo.url
config if it's still at
the default.system timestamp_formatter post-update Update timestamp formatter
settings for entity
view displays.text allowed_formats post-update Add allowed_formats setting to existing text fields.
update set_blank_fetch_url post-update Updates update.settings:fetch.url
_to_null config
if it's still at the
default.
views add_missing_labels post-update Add labels to views which don't have oneviews boolean_custom_titles post-update Update Views config schema to make
boolean custom titles translatable.views fix_revision_id_ part post-update Fix '-revision_id' replacement token syntax.
views oembed_eager_load post-update Add eager load option to all
oembed type field configurations.views remove_default_a post-update Remove default_argument_skip_url setting.
rgument_skip_urlviews remove_skip_cache post-update Remove the skip_cache settings.
_settingviews responsive_image post-update Add lazy load options to all responsive
_lazy_load image type field configurations.views taxonomy_filter_ post-update Removes User context from views with taxonomy filters.
user_contextviews timestamp_formatter post-update Update timestamp formatter settings for views.
-------- ------------------ ------------- ------------------------------------
Can anybody please help me with this and how to resolve these issues?
Thanks
- ๐ซ๐ทFrance informatique clouturier christophe
hy,
the #10 of @dgray12 work fine for me.
thank
- ๐ฉ๐ชGermany gogowitsch
I used the inspiration from #12 to fix my site. In my case,
dr updb
(database migration using Drush) complained about a missing entity "crop". Here are my steps - in case you find them easier than #12:- open Bash
- run
dr cex -y
cd
to the export directory- run
grep <em>crop</em> core.entity_view_mode*
(here "crop" is the missing entity the migration stumbled over. - delete the config using
dr config:delete <em>core.entity_view_mode.crop.token</em>
(in my case, grep found core.entity_view_mode.crop.token.yml) - run the migration again, e.g. using
dr updb