- Issue created by @wouters_f
- ๐ฎ๐ณIndia ayush.pandey
ayush.pandey โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia ayush.pandey
MR Created for fix and replaced Pecl interface with UUiD interface
Enabled the module
Configured a field
On saving of the node the following error occurs:
PHP message: Uncaught PHP Exception TypeError: "Drupal\elevenlabs_bytescale\Bytescale::__construct(): Argument #5 ($uuid) must be of type Drupal\Component\Uuid\Php, Drupal\Component\Uuid\Pecl given, called in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259" at /var/www/html/web/modules/contrib/elevenlabs_field/modules/elevenlabs_bytescale/src/Bytescale.php line 97
My config:
PHP via docker compose:
php:
image: wodby/drupal-php:8.2-dev-4.47.2
PHP: PHP Version 8.2.10
UUID extension enabled
Version 1.2.0 (stable)
Released 2020-10-06
Composer:
"drupal/ai_interpolator": "^1.0@RC"
"drupal/elevenlabs_field": "^1.0@beta",
Not sure what is the cause of this.
Just putting it here for future reference.
I managed to switch the PHP UUID implementation to the PECL one and get it working (see the diff)
https://git.drupalcode.org/issue/elevenlabs_field-3453715/-/compare/1.0....
Not sure how to proceed to fix thos for everybody.
Active
1.0
Code
ayush.pandey โ made their first commit to this issueโs fork.
MR Created for fix and replaced Pecl interface with UUiD interface