Account created on 31 March 2001, over 23 years ago
#

Merge Requests

Recent comments

I notice that this issue is ancient, however I've just had a similar issue.

I used

function mymodule_xautoload($adapter) {
$adapter->absolute()->composerDir('../vendor/composer');
}

and then I got an error when calling drush (for example drush cc)

PHP Fatal error: Cannot declare class OpenAI, because the name is already in use in /home/staging/deploy/vendor/openai-php/client/src/OpenAI.php on line 8
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Cannot declare class OpenAI, because the name is already in use in
/home/staging/deploy/vendor/openai-php/client/src/OpenAI.php, line 8 [0.28 sec, 45.44 MB]

Changing all the requires to require_once in src/Discovery ComposerJson.php, ComposerDir.php and ComposerJsonTargetDir.php fixed this for me.

I have been using #34 with PHP 7, however it seems to fail with PHP 8.

This is a duplicate of https://www.drupal.org/project/facets/issues/3283106 🐛 Hierarchy date - active item loses parent Active

This patch addresses the issue for me. it is unclear why it did work without it (according to the docs).

I've added you to the list of maintainers. Feel free to add additional maintainers (you should be able to).

Production build 0.71.5 2024