cancel
Showing results for 
Search instead for 
Did you mean: 

After magento upgrade to 2.4.6 on customer create get error

SOLVED

After magento upgrade to 2.4.6 on customer create get error

Hello,

 

At first when the magento was in 2.4.3-p3 all functionality working , but after magento upgrade to 2.4.6 there on create customer get error like

Error: Cannot instantiate interface Magento\Framework\Jwt\JwtManagerInterface in /var/www/html/devUgsage/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121

in log file get this error 

[2023-06-30T11:06:18.408687+00:00] main.DEBUG: URI '/devUgsage/pub/admin_1q8jes/customer/index/new/key/1e918a343efbe468a10d2e8af20e45d5f70320371e9bfac2899c6f91ffa39e46/'' cannot be accessed with POST method (Magento\Customer\Controller\Adminhtml\Index\NewAction) [] []
[2023-06-30T11:06:18.409336+00:00] main.DEBUG: Request validation failed for action "Magento\Customer\Controller\Adminhtml\Index\NewAction\Interceptor" {"exception":"[object] (Magento\\Framework\\App\\Request\\InvalidRequestException(code: 0): Invalid request received at /var/www/html/devUgsage/vendor/magento/framework/App/Request/HttpMethodValidator.php:69)"} []
[2023-06-30T11:06:18.524669+00:00] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/devUgsage/pub/admin_1q8jes/customer/index/new/key/1e918a343efbe468a10d2e8af20e45d5f...","invalidateInfo":{"tags":["BACKEND_MAINMENU"],"mode":"matchingAnyTag"}} []

 

Can anyone help on this

1 ACCEPTED SOLUTION

Accepted Solutions

Re: After magento upgrade to 2.4.6 on customer create get error

Hello @rina_test ,

 

you can try to enable 
'Magento_JwtFrameworkAdapter' => 1

and then run the following command
rm -rf /generated/* && rm -rf var/cache/* && rm -rf var/page_cache/* && php bin/magento cache:flush && php bin/magento setup:upgrade && php bin/magento setup:di:compile && php bin/magento setup:static-content:deploy -f

 

------------------------------------------------
If you've found one of my answers helpful, please give "Kudos" or "Accept as Solution"

View solution in original post

1 REPLY 1

Re: After magento upgrade to 2.4.6 on customer create get error

Hello @rina_test ,

 

you can try to enable 
'Magento_JwtFrameworkAdapter' => 1

and then run the following command
rm -rf /generated/* && rm -rf var/cache/* && rm -rf var/page_cache/* && php bin/magento cache:flush && php bin/magento setup:upgrade && php bin/magento setup:di:compile && php bin/magento setup:static-content:deploy -f

 

------------------------------------------------
If you've found one of my answers helpful, please give "Kudos" or "Accept as Solution"