这是我遇到的错误:
[Akeneo\Pim\Exception\NotFoundHttpException]
No route found for "GET /api/rest/v1/families/"
这就是我触发的。
$pages = $apiClient->getCategoryApi()->all(100);
我不明白Akeneo。我该如何克服呢?我显然不知道如何阅读它。
这是异常跟踪:
() at /var/www/html/iclei/vendor/akeneo/api-php-client/src/Client/HttpExceptionHandler.php:49
Akeneo\Pim\Client\HttpExceptionHandler->transformResponseToException() at /var/www/html/iclei/vendor/akeneo/api-php-client/src/Client/HttpClient.php:46
Akeneo\Pim\Client\HttpClient->sendRequest() at /var/www/html/iclei/vendor/akeneo/api-php-client/src/Client/AuthenticatedHttpClient.php:67
Akeneo\Pim\Client\AuthenticatedHttpClient->sendRequest() at /var/www/html/iclei/vendor/akeneo/api-php-client/src/Client/ResourceClient.php:56
Akeneo\Pim\Client\ResourceClient->getResource() at /var/www/html/iclei/vendor/akeneo/api-php-client/src/Api/FamilyApi.php:51
Akeneo\Pim\Api\FamilyApi->get() at /var/www/html/iclei/src/AppBundle/lib/cms/AkeneoConnector.php:143
AppBundle\lib\cms\AkeneoConnector->parse() at /var/www/html/iclei/src/AppBundle/lib/cms/AkeneoConnector.php:133
AppBundle\lib\cms\AkeneoConnector->getContentElementList() at /var/www/html/iclei/src/AppBundle/Command/AppTriggerBuildCommand.php:78
AppBundle\Command\AppTriggerBuildCommand->pageAction() at /var/www/html/iclei/src/AppBundle/Command/AppTriggerBuildCommand.php:62
AppBundle\Command\AppTriggerBuildCommand->execute() at /var/www/html/iclei/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:242
Symfony\Component\Console\Command\Command->run() at /var/www/html/iclei/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:861
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/iclei/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:193
Symfony\Component\Console\Application->doRun() at /var/www/html/iclei/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:84
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/html/iclei/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:117
Symfony\Component\Console\Application->run() at /var/www/html/iclei/app/console:27