You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My current Magento version is Magento Open Source 2.2.1
I need to upgrade to Magento Open Source 2.2.2 via command line
Steps to reproduce
I have run all the necessary commands to upgrade my version to Magento Open Source 2.2.2
No errors found during the upgrade, and it finished smoothly
Expected result
After update, the website should function normally with the latest version
Actual result
After update, I am getting a 500 Internal Server Error error for both admin and front-end
I checked the server error log, and it says Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
My site was working smoothly before the upgrade, so I don't think there was any misconfiguration happened on my server, except cPanel update. If this is not a technical issue from Magento's end, can someone help me to fix it, as I haven't found any helping articles fixing this particular issue