Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.

Created on 14 November 2019, almost 5 years ago
Updated 10 August 2024, about 2 months ago

I have enable Algolia Search module show error message

"Algolia Search requires the algolia/algoliasearch-client-php library. "

Then install library via composer issue

root@admin:/var/www/html/drupal-8# composer require algolia/algoliasearch-client-php
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Using version ^2.5 for algolia/algoliasearch-client-php
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
> Drupal\Core\Composer\Composer::preAutoloadDump
> Drupal\Core\Composer\Composer::ensureHtaccess

Please quick reply for issue, how to solve

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇮🇳India radheymkumar Jaipur, Rajasthan, India

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • @radheymkumar, you shouldn't install algolia/algoliasearch-client-php separately.

    You must install drupal/search_api_algolia via composer and the library will be installed automatically.

Production build 0.71.5 2024