How to clear cache of a specific node & related to a specific field of a node in drupal 9?
But its given over here in the Features that it has Event drag and drop
Ali Rizvi → changed the visibility of the branch 3304855-fix-libraries to active.
Ali Rizvi → changed the visibility of the branch 3304855-fix-libraries to hidden.
Ali Rizvi → created an issue.
but after i run drush node-access-rebuild-progressive
permission are not get rebuilds.
Thanks
Ali Rizvi → created an issue.
I have issues with parse queues of api
cd /opt/httpd/htdocs/staging/mysite/master/web/sites/website.stage.co.in
$ drush queue:list
-------------------- ------- ---------------------------------
Queue Items Class
-------------------- ------- ---------------------------------
api_delete_related 0 Drupal\Core\Queue\DatabaseQueue
api_parse_queue 52503 Drupal\Core\Queue\DatabaseQueue
-------------------- ------- ---------------------------------
$ drush queue:delete api_parse_queue
[success] All items in api_parse_queue queue deleted.
$ drush queue:list
-------------------- ------- ---------------------------------
Queue Items Class
-------------------- ------- ---------------------------------
api_delete_related 0 Drupal\Core\Queue\DatabaseQueue
api_parse_queue 0 Drupal\Core\Queue\DatabaseQueue
-------------------- ------- ---------------------------------
after every 10 to 15 day my site gets error :- your website encountered an unexpected error
and when i delete all of the queue it works fine how should i fix this?
Hi i have removed upgrade_status but sitll getting below error
[root@vlstage22 master]# composer require drupal/core-recommended:10.1.1 drupal/core-composer-scaffold:10.1.1 drupal/core-project-message:10.1.1 -W --ignore-platform-reqs Do not run Composer as root/super user! See https://getcomposer.org/root for details Continue as root/super user [yes]? ./composer.json has been updated Running composer update drupal/core-recommended drupal/core-composer-scaffold drupal/core-project-message --with-all-dependencies Loading composer repositories with package information Info from https://repo.packagist.org: #StandWithUkraine Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires drupal/core-recommended 10.1.1 -> satisfiable by drupal/core-recommended[10.1.1]. - drupal/core-recommended 10.1.1 requires drupal/core 10.1.1 -> found drupal/core[10.1.1] but these were not loaded, likely because it conflicts with another require. Installation failed, reverting ./composer.json and ./composer.lock to their original content. [root@vlstage22 master]#
<h5>composer.json</h5>
{
"name": "drupal/recommended-project",
"description": "Project template for Drupal 9 projects with a relocated document root",
"type": "project",
"license": "GPL-2.0-or-later",
"homepage": " https://www.drupal.org/project/drupal → ",
"support": {
"docs": " https://www.drupal.org/docs/user_guide/en/index.html → ",
"chat": " https://www.drupal.org/node/314178 → "
},
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"require": {
"php": "^7.3||^8.0",
"composer/installers": "^1.9",
"drupal/admin_toolbar": "^3.4",
"drupal/api": "^2.0@RC",
"drupal/auto_entitylabel": "^3.0",
"drupal/bootstrap": "^3.29",
"drupal/color-color": "^1.0",
"drupal/core-composer-scaffold": "10",
"drupal/core-project-message": "10",
"drupal/core-recommended": "^10",
"drupal/csv_serialization": "^2.1",
"drupal/ctools": "^4.0",
"drupal/devel": "^5.1",
"drupal/diff": "^1.1",
"drupal/encrypt": "^3.1",
"drupal/entityreference_filter": "^1.4",
"drupal/flood_control": "^2.3",
"drupal/fpa": "^4.0",
"drupal/masquerade": "^2.0@RC",
"drupal/module_filter": "^4.0",
"drupal/node_export": "^1.0@alpha",
"drupal/pathauto": "^1.11",
"drupal/queue_ui": "^3.1",
"drupal/search_api": "^1.29",
"drupal/superfish": "^1.6",
"drupal/token": "^1.12",
"drupal/views_bulk_operations": "^4.2",
"drupal/watchdog_prune": "^2.3",
"drush/drush": "^11.6",
"php-imap/php-imap": "^2.0",
"symfony/finder": "^6.1"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"drupal/core-composer-scaffold": true,
"drupal/core-project-message": true
}
},
"extra": {
"drupal-scaffold": {
"locations": {
"web-root": "web/"
}
},
"installer-paths": {
"web/core": [
"type:drupal-core"
],
"web/libraries/{$name}": [
"type:drupal-library"
],
"web/modules/contrib/{$name}": [
"type:drupal-module"
],
"web/profiles/contrib/{$name}": [
"type:drupal-profile"
],
"web/themes/contrib/{$name}": [
"type:drupal-theme"
],
"drush/Commands/contrib/{$name}": [
"type:drupal-drush"
],
"web/modules/custom/{$name}": [
"type:drupal-custom-module"
],
"web/profiles/custom/{$name}": [
"type:drupal-custom-profile"
],
"web/themes/custom/{$name}": [
"type:drupal-custom-theme"
]
},
"drupal-core-project-message": {
"include-keys": [
"homepage",
"support"
],
"post-create-project-cmd-message": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
"<bg=blue;fg=white> from the drupal/recommended-project template! </>",
"<bg=blue;fg=white> </>",
"",
"<bg=yellow;fg=black>Next steps</>:",
" * Install the site: https://www.drupal.org/docs/8/install → ",
" * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html → ",
" * Get support: https://www.drupal.org/support → ",
" * Get involved with the Drupal community:",
" https://www.drupal.org/getting-involved → ",
" * Remove the plugin that prints this message:",
" composer remove drupal/core-project-message"
]
}
}
}
Ali Rizvi → created an issue.
after runnig drush queue:run api_parse_queue
i get this error :-
The file permissions could not be set on /opt/httpd/htdocs/sites/vlcore/master/web/sites/default/files/api_git_repositories.[error]
And if i open any of my project i get this message at the bottom
A main page for this branch has not been indexed. A documentation comment with @mainpage needs to exist, or has not been indexed yet. For older versions of Drupal core, this is available in the documentation project in the developer subdirectory.
how should i index main page for this branch?
hi,
I'm migrating d7 to d9 and i have to migrate field collections to paragraphs and in field collections i have fields which has field type 'entity reference' and that reference's to field collection and view of field collection
drush mim upgrade_d7_field_collection_type
This creates the Paragraph Types from Field Collection
drush mim upgrade_d7_field_collection_field_name
This creates field instance ONLY
drush mim upgrade_d7_node_type
"Imports node types, This creates the Content Types - CCK structure"
and when i try to import field of cck using this
drush mim upgrade_d7_field
33/107 [========>-------------------] 30% [error] The "field_collection_item" entity type does not exist. (/opt/httpd/htdocs/sites/vecplerpd9/master/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php:139)
[error] The "field_collection_item" entity type does not exist.
[notice] Processed 107 items (101 created, 0 updated, 6 failed, 0 ignored) - done with 'upgrade_d7_field'
cck fields are not getting migrated because of field collections
any help would be appreciated