Skip to content

Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration #12777

@pmjcreations

Description

@pmjcreations

Preconditions

  1. My current Magento version is Magento Open Source 2.2.1
  2. I need to upgrade to Magento Open Source 2.2.2 via command line

Steps to reproduce

  1. I have run all the necessary commands to upgrade my version to Magento Open Source 2.2.2
  2. No errors found during the upgrade, and it finished smoothly

Expected result

  1. After update, the website should function normally with the latest version

Actual result

  1. After update, I am getting a 500 Internal Server Error error for both admin and front-end
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Format is validGate 1 Passed. Automatic verification of issue format passed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions