Welcome Guest, Not a member yet? Register   Sign In
Class not found
#5

Thanks. I am using version 2 above. I still get Class 'ApiClient' not found.
I then checked psr4
return array(
'Symfony\\Polyfill\\Php72\\' => array($vendorDir . '/symfony/polyfill-php72'),
'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'),
'Symfony\\Polyfill\\Intl\\Idn\\' => array($vendorDir . '/symfony/polyfill-intl-idn'),
'Sendpulse\\RestApi\\' => array($vendorDir . '/sendpulse/rest-api/src'), <<< it is right here
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
'Http\\Promise\\' => array($vendorDir . '/php-http/promise/src'),
'Http\\Client\\' => array($vendorDir . '/php-http/httplug/src'),
'Http\\Adapter\\Guzzle6\\' => array($vendorDir . '/php-http/guzzle6-adapter/src'),
'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
);

I think the install was OK. I have done it at least 3 times. How can I check if the library is installed? Should I try reindexing or am I wasting my time?
proof that an old dog can learn new tricks
Reply


Messages In This Thread
Class not found - by richb201 - 05-18-2021, 12:59 PM
RE: Class not found - by iRedds - 05-18-2021, 08:00 PM
RE: Class not found - by richb201 - 05-19-2021, 03:55 AM
RE: Class not found - by iRedds - 05-19-2021, 06:37 AM
RE: Class not found - by richb201 - 05-19-2021, 07:12 AM
RE: Class not found - by iRedds - 05-19-2021, 07:23 AM
RE: Class not found - by paulbalandan - 05-19-2021, 10:20 AM
RE: Class not found - by richb201 - 05-19-2021, 12:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB