Questions tagged [magento-upgrade]
Denotes a question related to Magento upgrade process
305
questions
0
votes
1
answer
82
views
Files Missing after upgrade Magento 2.4.1 to 2.4.6-p3
I am trying to upgrade Magento 2.4.1 to 2.4.6
PHP version 7.4
Composer version 2.6.5
Below steps I have followed to upgrade
1- cp composer.json composer.json.bak
2- composer require magento/...
0
votes
0
answers
38
views
upgrade from magento 2.4.5 to magento 2.4.7 beta2 issue?
Root composer.json requires magento/product-community-edition 2.4.7-beta2 (exact version match), found magento/product-community-edition[0.42.0-beta7, 2.0.0, ..., 2.4.7-beta2] but it does not match ...
0
votes
1
answer
39
views
Magento 2: Upgrade issue 2.4.5 to 2.4.6 | issue with framework repo
While Upgrading from version 2.4.5 - 2.4.6 facing issue with
Command use for upgrade
composer require magento/product-enterprise-edition 2.4.6 -W
error faced during upgrade
Warning: foreach() ...
0
votes
1
answer
36
views
Magento 2 manual Installation
Whenever we install magento by downloading magento zip(Manually), Magento core modules are stored in app/code/magento folder.
How magento update works when we want to upgrade older versions to new ...
1
vote
2
answers
58
views
Can anyone suggest how to remove deprecated registry class and what are the alternative methods?
I'm performing an upgrade to Magento 2.4 and the registry class has been deprecated but it's being used in some custom modules, please see the code below:
<?php declare(strict_types=1);
namespace ...
1
vote
1
answer
24
views
Error Exception #0 (Exception): Notice: Object of class Magento\Framework\Phrase could not be converted after upgrade magento version
Can anyone have faced the below error while opening the product listing page at the storefront?
After upgrade magento version 2.4.3 to 2.4.5 I am facing.
1 exception(s):
Exception #0 (Exception): ...
1
vote
1
answer
122
views
Using class CORE_CLASS that is non API on version '2.4.6-p1'
I have generated the Upgrade Compatibility Tool Report and most of the errors are as below.
[ERROR] [1124] Line 30: Using class 'Magento\Customer\Model\Address\Config' that is non API on version '2.4....
2
votes
1
answer
2k
views
How to upgrade Magento from 2.4.1 to 2.4.6
I'm actually on Magento CE version 2.4.1
I need to update it to 2.4.6 (latest version)
I'm in live (I don't have a staging enviroment)
Is there someone who can guide me step to step in upgrading?
...
0
votes
1
answer
461
views
update 2.3.4 > 2.4.x, composer update: composer-root-update-plugin, it could not be found in any version
Hi i am try to update magento from 2.3.4 to 2.4.x.
I am followed those guides:
https://www.codextblog.com/magento-2/upgrade-magento-version-2-3-x-2-4-0/
https://www.mgt-commerce.com/tutorial/how-to-...
1
vote
2
answers
358
views
Magento 2.4.6 - Getting Error Could not validate a connection to OpenSearch. No alive nodes found in your cluster
I am getting below error while installing Magento 2.4.6 using command line.
Could not validate a connection to OpenSearch. No alive nodes found in your cluster
I have run below two commands
...
0
votes
3
answers
557
views
Category Products not showing on frontend after Magento update
Updated Magento to the latest 2.4.6 and now the products do not show on the category pages, I can view the individual products and they show on the left filter, but no on the page. Any ideas?
0
votes
1
answer
89
views
Exception log file not generating after I upgraded my Magento from 2.4.2 to 2.4.6
After upgrading from magento 2.4.2 to 2.4.6, exception log file is not generating. How do I fix this? Please help!
1
vote
2
answers
1k
views
How to upgrade Magento 2 cloud version from 2.4.5-p1 to 2.4.5-p2 ? without upgrade third party extensions
I have tried to upgrade using "composer require-commerce magento/magento-cloud-metapackage:'2.4.5-p2 < 2.4.6' --no-update" this composer command but it's returning the error like
Please ...
0
votes
3
answers
136
views
Migrate obsolete Magento 2 to Magento 2
I work as a freelancer and I am increasingly confronted with prospects who want to update their obsolete Magento 2 site to a newer version (example M2.3.0 > M2.4.6).
The problem is that many themes ...
0
votes
1
answer
448
views
Magento 2.4.6 on Nexcess - Address Validation Error
I updated my Magento site to CE 2.4.6 (from CE 2.4.5-p1) running on Nexcess. I've shipped to this address before so I know it's valid and the shipping lookup works. It fails when I click "Next&...
0
votes
1
answer
79
views
Upgrade Magento Version to 2.4.4-p2 - Autoload Error
Upgraded Magento version to 2.4.4-p2 whenever we move files from local to server even any folder to another folder at same server, shows below error. We do every time vendor folder delete then run ...
0
votes
1
answer
578
views
Deprecated Functionality: rawurlencode(): Passing null to parameter #1 ($string) of type string is deprecated s
I upgraded the magento version from 2.3.6-p1 to 2.4.5-p1 enterprise edition.
When I run bin/magento setup:upgrade command throws following error.
Deprecated Functionality: rawurlencode(): Passing null ...
0
votes
0
answers
36
views
Can work same database with magento old version and upgrade version?
Here, the old code means Magento2.3.4, and the new code means magento upgraded v2.4.4-p2.
Recently, I upgraded a site from Magento 2.3.4 to v2.4.4-p2, and I have much customization.
Does Magento work ...
0
votes
1
answer
224
views
Upgrade Magento 2.4.4 to 2.4.5 via Github
I initially launched my site using a git clone of magento2 repo. Since then, it appears installing this way is unsupported.
Using git pull and changing git branches I was able to get my site from 2.4....
0
votes
2
answers
184
views
Magento 2 Products Not Showing in Category page after upgrade to 2.4.5-p1
Products Not Showing in Category page after upgrade to 2.4.5-p1 and indexer:reindex cmd gives below error
Catalog Search index process error during indexation process:
{"error":{"...
0
votes
0
answers
276
views
Magento 2 - Call method 'Magento\Framework\App\ResponseInterface::representJson' that does not exist on version '2.4.5'
I try to upgrade our magento 2 shop from 2.4.2 to 2.4.5-p1.
I get this critical error in the Upgrade Compatibility Tool Report.
Call method 'Magento\Framework\App\ResponseInterface::representJson'
...
1
vote
2
answers
144
views
Upgrading magento 2.3.6 to 2.4.5 its running in php8.1
Already run the setup:upgrade command it's working fine,
but now when I am running the setup:di:compile command, it's giving the below error message.
Repositories code generation... 1/9 [===>------...
0
votes
1
answer
1k
views
How to fix Fatal error Deprecated Functionality after upgrade magento version 2.4.5
How to fix below error.
PHP Fatal error: During inheritance of IteratorAggregate: Uncaught Exception: Deprecated Functionality:
Return type of Symfony\Component\Console\Helper\HelperSet::getIterator(...
0
votes
1
answer
53
views
After upgrade version got elastic search error
I just upgraded my Magento version to the latest Magento version 2.4.5. after a successful upgrade, while I am trying to run di: compile command then I got an error.
how to fix below error.
0
votes
2
answers
367
views
How to fix magento/upgrade-compatibility-tool with stability stable
I am trying to download the upgrade compatibility tool.
Command :
composer create-project magento/upgrade-compatibility-tool uct --repository https://repo.magento.com
I got below error.
0
votes
2
answers
278
views
Magento 245 SoapClient Class Removed From PHP 8.0
Magento241 is working with PHP7.4 and 7.4 have SoapClient and i have custom api call that uses Soapclient.
i just upgrade to magento245 and php 8.0 and Soapclient stop working.
Any one have idea ? any ...
1
vote
0
answers
274
views
Magento 2.4.5 Upgrade Compatibility issue representJson() doesn't exist in 2.4.5p1
I have upgraded my Magento2 application to 2.4.5p1. When I run Upgrade compatibility tool CLI, I'm getting below error in the report for my custom module :
Call method 'Magento\Framework\App\...
0
votes
1
answer
1k
views
ValueError: setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014" in PhpCookieManager.php:152
When I try to access the page showing an error in Magento latest upgrade
ValueError: setcookie(): "path" option cannot contain ",", ";", " ",
"\t", &...
0
votes
0
answers
51
views
how to upgrade magento 2.3.5-p1 to magento 2.4.3 i always get errors
im been trying to upgrade magento to 2.4.3 because i like the featured of page builder.
i tried
cp composer.json composer.json.backup
mysqldump -u username -p databasename > mysqlbackup.sql
bin/...
1
vote
2
answers
839
views
Error after upgrading Magento 2.4.3 to 2.4.5
After upgrading Magento from 2.4.3 to 2.4.4 (or 2.4.5), I cannot run any Magento CLI command. For example, setup upgrade command:
bin/magento setup:upgrade
generates the errors:
Interface "Zend\...
0
votes
0
answers
89
views
LESS/CSS error after upgrade to 2.4.4-p2
I am in the process of upgrading from 2.4.2 to 2.4.4-p2. I ran all the update commands and then switched to php 8.1 and now have a site which appears and mostly works but the CSS isn't working. I have ...
1
vote
2
answers
398
views
PHP Warning: require(/vendor/composer/../magento/project-enterprise-edition/app/etc/NonComposerComponentRegistration.php): Failed to open stream
I am working on an upgrade project from Magento 2.3.2.p2 EE to 2.4.4 EE.
After the composer update was done successfully I found the below error while run php bin/magento commands, can anyone help me ...
0
votes
2
answers
2k
views
Magento 2.4.5 Community upgrade in the lock file but not in remote repositories Composer Error
Thank you for taking time to read this.
I have been trying to upgrade Magento 2.4.3 to 2.4.5 but getting these errors
for example
Root composer.json requires extprovider/extname ^1.14, found ...
0
votes
1
answer
115
views
404 every page on frontend after upgrade 2.4.x
After Upgrade Magento 2.4.5-p1, I got 404 on every page on the frontend. The CSS and JS URLs are correct. The admin is working fine.
When I changed the 404 page it changed the 404 page to added page. ...
0
votes
1
answer
82
views
Cant add product to cart after upgrade to magento 2.4.0
I have upgraded my site to magento 2.4.0. After the upgrade, i am not able to add products to cart.
Can anyone please help , what is the issue?
Reference link,
http://discountedsunglasses.magento2e....
5
votes
6
answers
4k
views
What is the easiest way to upgrade from Magento 2.4.5 to 2.4.5-p1?
Magento 2.4.5
Porto theme
What is the easiest way to upgrade Magento 2.4.5 to Magento 2.4.5 p1 which was released on October 11th?
UPDATED on October 17th, 2022:
When I try to run the following, it ...
1
vote
1
answer
675
views
How to fix Upgrade Compatibility Tool Magento 2.4.5 errors
The following errors are showing in my custom module when generating report using Upgrade compatibility tool. in 2.4.5
Using class 'Magento\Company\Model\ResourceModel\Company\Collection'
that is non ...
1
vote
0
answers
83
views
ERROR Illegal offset type on reindexing catalog_product_attribute. Cant reindex product attributes
Upgraded from Magento2.4.2pt1 to Magento2.4.4-pt1. Now reindexing from SSH I am getting error with reindexing catalog_product_attribute.
php -d memory_limit=2G bin/magento indexer:reindex ...
0
votes
1
answer
88
views
Checkout page The consumer isn't authorized to access %resources
I am recently updated Magento Enterprise edition from 2.4.3-p1 to 2.4.5, after successfully upgrade I am facing the following error during the checkout.
The consumer isn't authorized to access %...
1
vote
7
answers
9k
views
Upgrading from Magento 2.4.0 to 2.4.5
I'm trying to upgrade Magento 2.4.0 to 2.4.5, i didn't upgrade PHP version, i'm using 7.4
composer require magento/product-community-edition 2.4.5 --no-update
I got this message
The "magento/...
0
votes
1
answer
831
views
Magento 2.4.3-p3 upgrading to 2.4.5 - Composer, Symfony error
I recently updated Magento from 2.4.3-p3 to 2.4.5.
Everything went well but i have few errors:
/usr/local/bin/php81 -d memory_limit=-1M /usr/local/bin/composer.phar update
Deprecated: Return type of ...
0
votes
2
answers
230
views
Could not validate a connection to Elasticsearch. No alive nodes found in your cluster after Setup Upgrade
I have upgraded magento to 2.4.5 and when i ran setup upgrade command I received this error
"Could not validate a connection to Elasticsearch. No alive nodes found in your cluster".
Elastic ...
1
vote
2
answers
601
views
Magento 2 Upgrade Issue from 2.3.6 to 2.4.4
I am trying to upgrade Magento from 2.3.6 to 2.44 using this link https://magecomp.com/blog/upgrade-magento-version-from-2-3-to-2-4/, Now issue is that Magento 2.4.4. requires PHP 7.4 and Magento 2.3....
0
votes
1
answer
626
views
Magento 2.4.4 Setup with Docker on Ubuntu
I want to setup Magento 2.4.4 on Ubuntu using Docker. Please someone guide me through.
Thanks In Advance.
1
vote
1
answer
205
views
After upgrade magento 2.3.5 to 2.4.3, Can't update product quantity to minicart
I can't update product quantity in mini cart after upgrading the Magento 2.3.5 to 2.4.3-p2 version. I got this below error
Notice: Trying to access array offset on value of type int in /var/www/html/...
2
votes
1
answer
1k
views
Using Class or Implemented interface is non API on version '2.4.4'
I have generated Upgrade Compatibility Tool Report and most of the errors are as below.
[ERROR] [1328]
Line 24: Implemented interface 'Magento\Framework\GraphQl\Query\ResolverInterface' that is non ...
2
votes
1
answer
512
views
Error when compiling: Declaration of X must be compatible with Y
I'm new to Magento and working on upgrading an existing project to 2.4.3. When running php -dmemory_limit=5G bin/magento setup:di:compile I'm encountering an error:
Fatal error: Declaration of X\...
2
votes
6
answers
1k
views
setup:di:compile fails after updating to 2.4.4
I upgraded from 2.4.2 to 2.4.4. Everything seemed to work, until I ran setup:di:compile.
I get this error:
MiBClass 'Zend\I18n\Validator\PhoneNumber' not found#0 /var/www/html/magento2/vendor/...
2
votes
3
answers
2k
views
Magento2 admin login not redirecting to dashboard page
after upgrade from magento 2.3.3 to 2.4.4, Admin login not redirecting to dashboard page.no errors coming but it just stays in login page.
Can anyone let me know what could be issue?
0
votes
1
answer
398
views
Magento Upgrade (2.4.3-p1 >> 2.4.4) Compilation Error
I am upgrading our current site from 2.4.3-p1 to 2.4.4. I had to apply multiple patches for upgrading. However, while running di:compile, its give me error as below
MiBInterface "Magento\GraphQl\...