title: An exception has been thrown during the rendering of a template ("Content template for column type "custom_text" was not found")
body: <p>I'm writing a custom plugin for Prestashop 1.7 for adding a new column in OrderList and I can't solve this issue.</p>
  <p>In the local environment, it works but not on the production site.</p>
  <p>Version Prestashop : 1.7.7.4
  Php : 7.3.28</p>
  <p>The difference between dev and production is the OS. Windows on dev machine and Debian on production.</p>
  <p>I have tested my code with Prestashop 1.7.7.3 and 1.7.7.4.</p>
  <p>My hook :</p>
  <pre><code>Path: /modules/mymodule/mymodule.php
  
  /**
   * @param array $params
   */
  public function hookActionOrderGridDefinitionModifier(array $params)
  {
      /** @var GridDefinitionInterface $definition */
      $definition = $params['definition'];
  
      $definition
          -&gt;getColumns()
          -&gt;addAfter(
              'country_name',
              (new HtmlTypeColumn('ldDeliveryDate'))
                  -&gt;setName($this-&gt;l('Date de livraison'))
                  -&gt;setOptions([
                      'ModuleClass' =&gt; new MyModule(),
                      'ldDeliveryDate' =&gt; &quot;Aujourd'hui&quot;
                  ])
          )
      ;
  }
  </code></pre>
  <p>My class :</p>
  <pre><code>Path : /modules/mymodule/src/Grid/Columns/HtmlTypeColumn.php
  
  
  final class HtmlTypeColumn extends AbstractColumn {
      public function getType() {
          return 'custom_text';
      }
      protected function configureOptions(OptionsResolver $resolver) 
          $resolver
              -&gt;setRequired([
                  'ModuleClass',
                  'ldDeliveryDate'
              ])
              -&gt;setAllowedTypes('ModuleClass', 'object')
              -&gt;setAllowedTypes('ldDeliveryDate', 'string');
      }
  }
  </code></pre>
  <p>And the error :</p>
  <pre><code>An exception has been thrown during the rendering of a template (&quot;Content template for column type &quot;custom_text&quot; was not found&quot;).
  </code></pre>
  <p>Does someone have an idea?
  Thank you :)</p>