
I recently ran into this issue with my Drupal 11 CMS with a module called 'media_entity_twitter'. ( See 'external links' below ). When I updated my CMS via composer, I got the following error :
j7mbo/twitter-api-php has been marked as abandoned, no longer maintained.
To work around this issue, I made the following change to the root Composer.json file :
"require": {
.
.
"tzlion/deadend-api-php": "^0.2.0" // The replacement/forked package
},
"replace": {
"j7mbo/twitter-api-php": "*" // The abandoned package to be replaced
},
Update your CMS again using 'composer update'. Make sure that the replacement/forked package is functionally similar to the abandoned package. Otherwise you may get erroneous errors happen in your CMS.
External Links
About the author |
|
![]() |
Tom Thorp is an IT Consultant living in Miami on Queensland's Gold Coast. With more than 30 years working in the IT industry, he has extensive experience. The IT services provided to clients include:
Website development and hosting,
Database Administration, Server Administration (Windows, Linux, Apple), PBX Hosting and Administration, Helpdesk Support (end-user & technical). |
If you like any of my content, consider a donation via Crypto by clicking on one of the payment methods:. |