New answers tagged

0 votes

How to append a new Json element to setData with resultJsonFactory in Magento2

Some years late but you can use following workaround for what you needed : ) /** @var \Magento\Framework\App\ResponseInterfaceFactory $responseFactory */ $response = $responseFactory->...
Nicolás Peric's user avatar
0 votes

Magento 2 pwa FetchError: invalid json response body at https://xxx/graphql reason: Unexpected token c in JSON at position 0

I am fetching this error when I apply commands yarn run watch commands. but I have a solution below step. Step 1: First I will change my PHP version php8.1 to php 8.2 => sudo a2dismod php8.1 => ...
mohit vamja's user avatar

Top 50 recent answers are included