I've tested @vandana's MR as a patch and it works.
I have reviewed your post and contributions in the account.
Issue : This issue clearly depends on the Update Manager module when using both the Update Manager and Admin Toolbar together
To reproduce the issue in Drupal 10.4.2 or above:
- Administration > Extend : Enable Admin Toolbar , Admin Toolbar Extra Tools and Update Manager
- Structure > Menu > Administration , Click edit menu
Root cause :
File path :web/modules/contrib/admin_toolbar/admin_toolbar_tools/src/Plugin/Derivative/ExtraLinks.php : line 489 and 501
- Drupal 10.4.x does not have the update.theme_install route name, while it was there in Drupal 10.3.x. and below
- The error encountered is due to the condition
if (version_compare(\Drupal::VERSION, '11.0.0', '<')).
solution :
Change the condition if (version_compare(\Drupal::VERSION, '10.4.0', '<'))
to make it work.
Hi @kushagra.goyal
This issue is encountered in Drupal versions lower than 11, I faced it in 10.4.0. After installing the module, navigating to the admin menu (/admin/structure/menu/manage/admin) resulted in this error. When applying the patch the issue got fixed and might work only in versions lower than 11.
- Add the patch and clear the cache
drush cr
mugesh.s → created an issue.
I am trying to implement the Twitter API, but I encountered a blank block. I checked and debugged the code, and this is the result I got
file path (socialfeed/src/Plugin/Block/TwitterPostBlock.php)
Does this Twitter API only work with the Basic Plan?
I am referring to the site https://twitteroauth.com/ and using API v2. I only get the 'user/me' endpoint; other GET routes are available on the Basic Plan. Could you please clarify this issue?
I changed the code at the path socialfeed/src/Services/TwitterPostCollector.php to use the getPosts function
$this->twitter->setApiVersion('2');
return $this->twitter->get('users/me');
#3 worked for me as well , solution to problem in pathauto after upgrade site drupal 9 to drupal 10.
mugesh.s → created an issue.