Magento Tutorials

Please re-run Magento compile command

please-re-run-magento-compile-command

What is Magento Compilation?

The Magento Compilation is a feature that allows you to compile all Magento installation files (source code, including plugins) into a single folder in order to create a single include path. This feature is designed to improve the performance of your online store and is supposed to give between 25% and 50% increase in your page load speed.

If compilation is turned on in Magento, whenever there’s a change of source in the root folder, you need to re-run the compilation process for that change to be applied on your website.

“Please re-run Magento compile command” message

please re-run magento compile command

This is a system message that appears whenever there’s a change in Magento source. Every time the upgrade command is finished, you’ll see this message.

To run the compile command, type this line:

php bin/magento setup:di:compile

In Magento 2, if you already disable compilation or are working in dev-mode, you can ignore this message.

 

Related posts:
Could not resolve host ‘magento-community’
Warning: Your Magento folder does not have sufficient write permissions

Please re-run Magento compile command
5 (100%) 3 votes
2 Comments

Dom

A knowledge craver who always strive to be wiser everyday.

    2 Comments

    1. Anna Boyd
      09/12/2018 at 5:39 am

      I am sorry but I will have to decline the offer as I am a lady of 78 and all your technical requirements leave me baffled.

      • Dom
        09/12/2018 at 9:52 am

        Excuse me..?

    Reply your comment

    Your email address will not be published. Required fields are marked*