Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Firehawk777 on
I woke up this morning to find my drupal site had once again down. I did no updates and the site was working yesterday afternoon with no issues.
There has been no changes to the site whatsoever. As the site has to be up on Monday I am very keen to get this sorted out.
Fatal error: Interface 'CommerceGuys\Addressing\AddressInterface' not found in /home/MYWEBSITE/public_html/modules/contrib/address/src/AddressInterface.php on line 11
Drupal 8 appears to suffer from so many of these issues.
Has anyone come across a fix for this issue or even encountered it? I have no idea how it has occurred.
Comments
=-=
keywords "Fatal error: Interface 'CommerceGuys\Addressing\AddressInterface'" led to https://www.drupal.org/project/address/issues/2651014
Thanks. Glad to get a reply
Thanks. Glad to get a reply though I had already found the fix.
Cheers
Issue fixed via updating
Issue fixed via updating address module with composer. It appears it was an error with one of the libraries required by Address module.
Still not sure what caused the issue in the first place as Drupal was stable yesterday and then crashed without any changes or updates being applied.
Same happened to me this
Same happened to me this morning.
To solve I tried to update address on Drush which did not work.
I then (re)installed address, which came in version 1.3 (and not 1.0 as Address mentions).
Solved.
composer require drupal
Thank's, it saved my day.
Thanks
Thank's, its worked for me too.
@Miras-EtrinThanks !
@Miras-EtrinThanks !
followed the two steps and I am problem resolved!
Thanks, works for me too ;)
Thanks, works for me too ;)
I've solved with:
I've solved with:
composer remove commerceguys/addressing
composer require drupal/address
Salut!
It works for me also. Thanks
It works for me also. Thanks
I must do it on each update
I must do it on each update on local. Have you got the same problem?
composer require drupal
composer require drupal/address
worked for me, too, thank you @XaviP!http://www.fonant.com - Fonant Ltd - Quality websites
composer remove commerceguys
composer remove commerceguys/addressing
Fixed this for me
composer require commerceguys
I have fixed by runing this command -
Worked on me too! :D
Worked on me too! :D
I fixed this by completely rebuilding the vendor directory
I tried the other fixes mentioned in this thread, but they did not resolve things.
After trying a fresh install with my existing composer.json, I found that it must have been something in the vendor directory that was causing it.
fix was:
# rm -rf vendor
# composer udpate
composer require drupal/address
It worked for me too!!
If you are using Lando
If you are using Lando, after doing all these steps, you should also consider a restart, as it seems that the location for this library is cached on APC, as far I can understand. It took me 2 hours to find this, I restarted Lando and everything worked again.
Drupal Backend / Frontend Developer