Magento 2.3.3 Recompile Php error

Hello there,

We’re running Magento 2.3.3CE and have installed algolia but are facing an ssh output error/ php error:

Can anyone advise what we might have missed in setting this up?

Fatal error: Uncaught Error: Class ‘Algolia\AlgoliaSearch\Support\UserAgent’ not found in /home/user/public_html/app/code/Algolia/AlgoliaSearch/Helper/AlgoliaHelper.php:66
Stack trace:
#0 /home/user/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(116): Algolia\AlgoliaSearch\Helper\AlgoliaHelper->__construct(Object(Magento\Framework\App\Helper\Context), Object(Algolia\AlgoliaSearch\Helper\ConfigHelper), Object(Magento\Framework\Message\Manager), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /home/user/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject(‘Algolia\Algolia…’, Array)
#2 /home/user/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create(‘Algolia\Algolia…’)
#3 /home/user/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Fr in /home/user/public_html/app/code/Algolia/AlgoliaSearch/Helper/AlgoliaHelper.php on line 66

Hi @Tony2021,

Thanks for posting here! Can you confirm that you have installed all the dependencies for the extension listed in the composer.json?

It sounds like the Algolia PHP client is missing from your installation. To ensure you have installed the extension correctly with all it’s dependencies, we recommend that you use composer.

Thanks!

Hi Betty

Thank you ever so much for your swift support.

I will have this checked with our developer and revert back shortly!