Hi guys, could someone help me please. I do recrusive partial both with volt and php and working well in my local machine, the problem is it not working in my production server. My local and production servers run a same engine (Apache) but diferent php version (mine: 7.0) and (server: 5.6). Is the php version is make sense? i spent 2 days looking for into this problem, and i cant downgrade my php version (.cphalcon extension is not match with php5.6 version). Any advice or clue? or am i miss something behind :( :(
Thanks before,
Martin ✌️
Controller [Customers.php]:
public function treeAction($parent=null, $current=null)
{
  $this->assets->collection('cssHeader')
       ->addCss('bower_components/animate.css/animate.min.css')
       ->join(true);
 $this->assets->collection('jsFooter')
     ->addJs('js/pages/crm_corporate/app.js')
     ->join(true);
  $this->view->active_menu         = 'customercorporate';
  $this->view->active_title        = 'Corporate Tree View';
  // $this->view->trees               = Customer::findByParentId($parent);
  $this->view->trees               = Customer::findFirstById($parent);
  // $this->view->customer            = Customer::findFirstById($current);
  $this->view->current             = $current;
}Views [Tree.volt]
<div class="hv-container">
  <div class="hv-wrapper">
      <div class="hv-item">
          <div class="hv-item-parent">
              <p class="simple-card
                {{ current == trees.id ? 'is-current animated pulse infinite' : '' }}"
                data-request="onViewCustomer"
                data-parameter="{{ trees.id }}">
                {{ trees.firstname|upper ~ ' ' ~ trees.lastname|upper }}
              </p>
          </div>
          {% if trees.has|length %}
              {% for key, tree in trees.has %}
                  {{ partial('partials/customers/tree-list-child', ['trees':trees, 'key': key]) }}
              {% endfor %}
          {% endif %}
      </div>
  </div>
</div>Views [partials/customers/tree-list-child.volt]
<div class="hv-item-children">
  {% set max = trees.has|length %}
  {% if trees.has|length %}
    {% for tree in trees.has %}
      {{ partial('partials/customers/tree-list-item2', ['trees': trees, 'key': key, 'max': max]) }}
    {% endfor %}
  {% endif %}
</div>Views [partials/customers/tree-list-item2.volt]
<div class="hv-item-child {{ tree.has|length == 1 and trees.has|length == 1 ? 'child-nomore' : '' }}">
    {% if tree.has|length %}
        <div class="hv-item">
            <div class="hv-item-parent">
                <p class="simple-card
                  {{ current == tree.id ? 'is-current animated pulse infinite' : '' }}"
                  data-request="onViewCustomer"
                  data-parameter="{{ tree.id }}">
                  {{ tree.firstname|upper ~' '~ tree.lastname|upper }}
                </p>
            </div>
            {{ partial('partials/customers/tree-list-child', ['trees': tree, 'key': key]) }}
        </div>
    {% else %}
        <p class="simple-card {{ current == tree.id ? 'is-current animated pulse infinite' : '' }}"
          data-request="onViewCustomer"
          data-parameter="{{ tree.id }}">
          {{ tree.firstname|upper ~' '~ tree.lastname|upper }}
        </p>
    {% endif %}
</div>My Local Output :

My Server Output :

The variable wont pass into partial file with recrusive looping into partials/customers/tree-list-item2.volt, partials/customers/tree-list-child.volt
