@@ -88,7 +88,7 @@ The Upgrade Compatibility Tool provides a report identifying the affected non-Ma
88
88
89
89
#### Example with a list of errors/warnings
90
90
91
- ``` php
91
+ ``` terminal
92
92
File: /app/code/Custom/CatalogExtension/Controller/Index/Index.php
93
93
------------------------------------------------------------------
94
94
@@ -114,7 +114,7 @@ The lower this number is, the easier is to perform the upgrade.
114
114
115
115
#### Example of a summary report
116
116
117
- ``` php
117
+ ``` terminal
118
118
------------------------ --------
119
119
Installed version 2.3.5
120
120
Magento version 2.4.1
@@ -134,9 +134,37 @@ Regarding the GraphQL schema compatibility comparison, the output would be very
134
134
135
135
#### Example with a list of errors/warnings for GraphQL
136
136
137
- ``` php
137
+ ``` terminal
138
138
* [ERROR] FIELD_CHANGED_KIND: ConfigurableProduct.gender changed type from Int to String.
139
139
* [WARNING] OPTIONAL_INPUT_FIELD_ADDED: An optional field sku on input type ProductAttributeSortInput was added.
140
140
```
141
141
142
142
See [ Developer information] ( {{site.baseurl}}/upgrade-compatibility-tool/developer.html ) for more information.
143
+
144
+ ## Troubleshooting
145
+
146
+ ### Empty output
147
+
148
+ {:.bs-callout-info}
149
+ The ` M2_VERSION ` is the target Magento 2 version you want to compare to your Magento instance.
150
+
151
+ If after running this command:
152
+
153
+ ``` bash
154
+ bin/uct upgrade:check INSTALLATION_DIR -c M2_VERSION
155
+ ```
156
+
157
+ the only output is ` Upgrade compatibility tool ` :
158
+
159
+ ``` terminal
160
+ bin/uct upgrade:check /var/www/project/magento/ -c 2.4.1
161
+ Upgrade compatibility tool
162
+ ```
163
+ {:.no-copy}
164
+
165
+ the likely cause is a PHP memory limitation.
166
+ Override the memory limitation by setting ` memory_limit ` to ` -1 ` :
167
+
168
+ ``` bash
169
+ php -d memory_limit=-1 /bin/uct upgrade:check INSTALLATION_DIR -c M2_VERSION
170
+ ```
0 commit comments