late-tiger-76201
01/05/2023, 2:37 PMdamp-area-26048
01/05/2023, 5:39 PM[info] npm
[info]
[info] ERR!
[info] bindings not accessible from watchpack-chokidar2:fsevents
millions-river-67963
01/06/2023, 12:32 AMError - Exception: Class 'Doctrine\Common\Inflector\Inflector' not found
in /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Filter/SingularizeFilter.php (31)
Command: /data/vendor/bin/console spryk:run AddGlueBasicStructure
Does anyone have any solutions to this?wonderful-baker-94910
01/06/2023, 4:59 AMadventurous-piano-41045
01/06/2023, 10:10 AMfew-address-803
01/06/2023, 1:03 PMfew-address-803
01/09/2023, 7:14 AMrough-agency-88294
01/09/2023, 12:37 PMmillions-river-67963
01/10/2023, 12:50 AMfew-address-803
01/10/2023, 9:06 AMadamant-oil-10501
01/10/2023, 11:00 AMmodern-garden-96516
01/10/2023, 3:20 PMgifted-processor-93179
01/10/2023, 3:43 PMcalm-toddler-60539
01/10/2023, 4:13 PMmysterious-ambulance-11183
01/10/2023, 7:15 PMrough-agency-88294
01/11/2023, 8:07 AMcalm-toddler-60539
01/11/2023, 12:01 PMSymfony \ Component \ Form \ Exception \ UnexpectedTypeException
Expected argument of type "Symfony\Component\HttpFoundation\Request", "null" given
late-tiger-76201
01/12/2023, 8:24 AMwonderful-baker-94910
01/12/2023, 10:18 AMhallowed-dentist-19902
01/12/2023, 10:26 AM...
"code": "003",
"status": 401,
"detail": "Failed to authenticate user."
...
hallowed-dentist-19902
01/12/2023, 10:26 AM{
"data": {
"type": "access-tokens",
"attributes": {
"username": "<mailto:admin@spryker.com|admin@spryker.com>",
"password": "change123"
}
}
}
gentle-art-90358
01/12/2023, 11:02 AMancient-apartment-59274
01/13/2023, 10:09 AMfindCategoryTemplateByName
is deprecated or already removed without replacement.
Yes, accessing it via a name is really not optimal, but how to access these it in future? Is there access or any other concept/mechanism planned or is this now intended to be project scope?
Best regardscalm-toddler-60539
01/13/2023, 10:33 AMCheckoutPageDepedencyProvider
Here is my code ...
config_default.php:
// ---------- Dependency injector
$config[KernelConstants::DEPENDENCY_INJECTOR_YVES] = [
'CheckoutPage' => [
PaymentMethodsConstants::PROVIDER_NAME,
],
];
MyProject\Yves\PaymentMethods\Dependency\Injector\PaymentDependencyProvider.php
<?php
namespace MyProject\Yves\PaymentMethods\Dependency\Injector;
use Spryker\Yves\DummyPayment\Dependency\Injector\CheckoutDependencyInjector;
use Spryker\Yves\Kernel\Container;
use MyProject\Yves\PaymentMethods\Plugin\DirectDebitSubFormPlugin;
use Spryker\Yves\Checkout\CheckoutDependencyProvider;
use Spryker\Yves\StepEngine\Dependency\Plugin\Form\SubFormPluginCollection;
use Spryker\Yves\Kernel\Dependency\Injector\DependencyInjectorInterface;
class CheckoutPageDependencyInjector implements DependencyInjectorInterface
{
/**
* @param \Spryker\Yves\Kernel\Container $container
*
* @return \Spryker\Yves\Kernel\Container
*/
protected function injectPaymentSubForms(Container $container): Container
{
$container->extend(
CheckoutDependencyProvider::PAYMENT_SUB_FORMS,
function (SubFormPluginCollection $paymentSubForms) {
$paymentSubForms->add(new DirectDebitSubFormPlugin());
return $paymentSubForms;
});
return $container;
}
public function inject(Container $container): Container
{
$container = $this->injectPaymentSubForms($container);
return $container;
}
}
straight-terabyte-22793
01/14/2023, 9:20 AMeager-dinner-49049
01/16/2023, 6:49 AMwonderful-baker-94910
01/16/2023, 7:41 AMelegant-cartoon-61249
01/16/2023, 9:17 AMcalm-toddler-60539
01/16/2023, 9:35 AMmillions-river-67963
01/16/2023, 3:22 PMclass ModuleResourceController extends AbstractController
{
public function getAction(
string $id,
RestRequestInterface $glueRequestTransfer
): RestResponseInterface
{
return (new RestResponse())->addError((new RestErrorMessageTransfer())->setStatus(200));
}
}
But I get this when I visit the browser.
{
"errors": [
{
"status": 404,
"detail": "Not Found"
}
]
}
I would just like something on the Glue API to work. What are the possible solutions to this?