- Issue created by @SocialNicheGuru
Hi @socialnicheguru,
I tried to reproduce this on a fresh site with:
- Drupal 10.5.1
- ECA 2.1.10
- ECA Twilio Action 2.0.0-alpha1
…and everything stays perfectly calm—no errors.
My hunch is that this is the composer-namespace mix-up tracked in #3534927 🐛 Wrong prefix for eca and twilio in .info.yml Active .
The fix is already on the 2.0.x dev branch. Please give it a spin and let me know if anything still looks off. Once I get a 👍, I’ll tag the next release.
composer require 'drupal/eca_twilio_action:2.0.x-dev@dev'
If the error still appears, please share:
- Exact versions of Drupal core and the related modules.
- The point in the install/upgrade process where the error occurs.
- 🇺🇸United States SocialNicheGuru
I will try the new version.
To clarify I had not enabled any eca modules and was enabling other modules.
The autoload is calling eca_twilio_action classes and one of them depends on an eca class that is not autoloaded and not available:
Error: Class "Drupal\eca\Plugin\Action\ConfigurableActionBase" not found in include() (line 19 of /var/www/html/html/modules/contrib/eca_twilio_action/src/Plugin/Action/SendTwilioSms.php)I do not know enough about autoloader so maybe this is just my hunch.
I would suggest either removing autoloader from eca_twilio_action/composer.json or add it to eca.