25
votes
Accepted
The consumer isn't authorized to access %resources
In magento2.4.4 we have to make configuration like this to work rest api with integration token
17
votes
Accepted
Error when upgrading to Magento to 2.4.4
One of your custom modules is not Magento 2.4.4 compatible..
How to fix?
add PHPDOC block for all consumer class in your custom module.
How to find all consumer class?
you can set break point debugger ...
17
votes
Magento 2 - Upgrade From 2.4.2 to 2.4.4 Class "Vertex\Tax\Setup\Schema\Triggers\MigrateVertexInvoiceSent" does not exist
I encountered this issue when upgrading to Adobe Commerce 2.4.4-p1. I was able to solve it by manually flushing the Redis cache databases being used by the instance. Sometimes the cache holds on to ...
9
votes
Error: Command "require-commerce" is not defined, while Magento 2.4.4 upgrade
Please try to run:
composer require magento/composer-root-update-plugin --no-update
composer update
prior to
composer require-commerce magento/product-community-edition 2.4.4 --no-update
8
votes
Static content deploy error after upgrading magento 2.4.3-p1 to 2.4.4
Make sure that logo of theme is here app/design/frontend/[Your Vendor]/[Theme Name]/web/images/logo.svg
It is necessary. But I guess it is bug of Magento 2 with PHP 8.1
7
votes
Static content deploy error after upgrading magento 2.4.3-p1 to 2.4.4
The issue has been caused because your custom theme doesn't have a preview image, then PHP 8.1 throws that error due to Magento core logic.
Fix that by adding an image to your custom theme.
For ...
7
votes
Error when upgrading to Magento to 2.4.4
find your not compatible custom modules in Magento 2.4.4.
add code in vendor/magento/framework/Reflection/MethodsMap.php line 143
if($paramReflection->detectType() == NULL)
{
...
7
votes
Magento 2.4.4. password reset link always expired
Simple steps to overcome this problem
Go to Admin dashboard
Click on Marketing -> Email Templates
Create new template by clicking on Add one Template
Template Name:
Forgot Admin Password(New)
...
5
votes
Accepted
Error message "Some of the products are disabled" on checkout
check your magento file vendor/magento/module-checkout/Model/GuestPaymentInformationManagement.php
the GuestPaymentInformationManagement.php file is updated in magento2.4.4 version.
Magento\Checkout\...
5
votes
Magento upgrade 2.4.4, phpunit issue
you need to find the "require-dev" in your magento root composer.json file
"require-dev": {
"allure-framework/allure-phpunit": "~1.5.0",
"...
5
votes
Magento 2.4.4. password reset link always expired
In my case I had to change my custom theme (porto) file:
app/design/frontend/Smartwave/porto/Magento_Customer/templates/form/resetforgottenpassword.phtml
and introduce new form param id like following:...
5
votes
Magento 2.4.4 suddenly adds cache tag to env.php
If you don't have a cache entry in your env.php array, Magento will break when the GraphQL module decides to add a salt entry within the cache key. The moment ['cache'] exists, Magento also expects ['...
4
votes
Accepted
Magento 2.4.4 error in setup:upgrade
I had same issue after migrate of Magento version.
I was used insertOnDuplicate .
Update magento file.
vendor/magento/module-catalog/Setup/Patch/Data/UpdateMultiselectAttributesBackendTypes.php
...
4
votes
Accepted
Error: Command "require-commerce" is not defined, while Magento 2.4.4 upgrade
EDIT:
This is a better solution. From the docs (which I missed the first time): https://devdocs.magento.com/guides/v2.4/comp-mgr/cli/cli-upgrade.html
composer require magento/composer-root-update-...
4
votes
Accepted
How to install PWA in Magento 2.4.4 in windows
You cannot (technically you can but shouldn't) since Magento is not supported on Windows. See https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/system-requirements.html#...
4
votes
Magento 2.4.4 (PHP 8.1) Error while running setup:di:compile
Looks like you have incorrect using of \Magento\Framework\View\Element\Template (in current namespace instead of global) in \Rsg\Enquiry\Controller\Index
I suggest to review \Rsg\Enquiry\Controller\...
4
votes
Accepted
How to update product salable quantity in Magento 2.4 programmatically?
To set the saleable quantity of a product , you need to look at this table = "cataloginventory_stock_item" , in this the field = "qty".
So in order to set the qty in this table , ...
4
votes
Accepted
Extension Attributes not storing data in database
That tutorial only shows you how to add new fields to default checkout forms but not mentioned how to save the field data (extension attribute value) into the database.
To save the extension attribute ...
4
votes
Facing issue when i upgrade magento 2.4.4 and php8.1 and mysql 8 after composer upgrade
I think the problem may be that you've upgraded to PHP 8.1 before you've upgraded your composer packages. Have a read of this github issue, seems others had the same issue:
https://github.com/magento/...
3
votes
The consumer isn't authorized to access %resources
Thanks for above solutions. I also encountered this smiliar issue after upgrade magento from 2.4.1 to 2.4.4-p2.
My customized rest API can not work and get the same error.
I debug the codes and found ...
3
votes
Accepted
How Can I check Coding Standards Of my module for magento 2.4.4 and php 8.1?
You should find what you need here: https://github.com/magento/magento-coding-standard
3
votes
jquery.mobile.custom js file error after upgrade to Magento 2.4.4
jquery.mobile.custom js is removed from magento 2.4.4. You should to look for another solution
3
votes
Magento 2.4.4. password reset link always expired
magento 2.4.4 has changed email template variables, compare email templates from vendor module and make changes if you have override them
3
votes
Accepted
Magento 2.4.4 EE composer update issue
Wrong credential in auth.json.
Credentials should be used from enterprise account
3
votes
Magento2.4.4 swagger
If you didn't change deploy mode for your instance, by default deploy mode is default (not developer)
You need to change mode to developer for Swagger
How to display current mode (CLI)
bin/magento ...
3
votes
Magento 2.4.4 suddenly adds cache tag to env.php
vendor/magento/framework/App/Cache/Frontend/Pool.php line 89 changed from if (null !== $cacheInfo) { to if (null !== $cacheInfo && isset($cacheInfo[FrontendPool::KEY_FRONTEND_CACHE])) {
That ...
3
votes
How to Convert InstallSchema.php to Db_Schema.xml in Magento 2 ? is Possible Or Not
Please follow the following steps to successfully Migrate your install/upgrade scripts to declarative schema
Go to your database search for setup_module table and delete all the
modules for which you ...
3
votes
Accepted
Access Token Expiration settings have no effect
I found the solution. There is another setting here:
I set the expiration here to 600 minutes and it works perfectly.
3
votes
Accepted
Can you add translation for all modules in 1 file
In this case, best way to translate terms from storefront theme. For example, theme name in your project is "ExampleCorp_orange" then go to
app/design/frontend/ExampleCorp/orange/i18n/fr_ca....
2
votes
What is the process of upgrade magento 2.4.2 to 2.4.4?
Overwrite in your composer.json file the require-dev object with the following one, then run composer update again.
"require-dev": {
"allure-framework/allure-phpunit": "~1....
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
magento2.4.4 × 261magento2 × 89
magento2.4 × 29
magento-upgrade × 11
upgrade × 9
rest-api × 8
php8 × 8
magento2.3 × 7
magento2.4.3 × 7
adminhtml × 6
magento2.4.2 × 6
magento2.4.5 × 6
checkout × 5
database × 5
admin × 5
magento-enterprise × 5
backend × 5
onestepcheckout × 5
javascript × 4
attributes × 4
configurable-product × 4
error × 4
product-attribute × 4
onepage-checkout × 4
custom × 4