Could not load configuration paginator-templates.phpの対処法
なぜこうなってしまったのかは、わかりませんが、
config
フォルダに、paginator-templates.php
を作って
以下を張り付ければできます。
config/paginator-templates.php
<?php
return [
'nextActive' => '<li class="page-item"><a class="page-link" rel="next" href="{{url}}">{{text}}</a></li>',
'nextDisabled' => '<li class="page-item disabled"><span class="page-link">{{text}}</span></li>',
'prevActive' => '<li class="page-item"><a class="page-link" rel="prev" href="{{url}}">{{text}}</a></li>',
'prevDisabled' => '<li class="page-item disabled"><span class="page-link">{{text}}</span></li>',
'counterRange' => '{{start}} - {{end}} of {{count}}',
'counterPages' => '{{page}} of {{pages}}',
'first' => '<li class="page-item"><a class="page-link" href="{{url}}">{{text}}</a></li>',
'last' => '<li class="page-item"><a class="page-link" href="{{url}}">{{text}}</a></li>',
'number' => '<li class="page-item"><a class="page-link" href="{{url}}">{{text}}</a></li>',
'current' => '<li class="page-item active"><a class="page-link" href="">{{text}}</a></li>',
'ellipsis' => '<li class="page-item"><span class="page-link">…</span></li>',
'sort' => '<a href="{{url}}">{{text}}</a>',
'sortAsc' => '<a class="asc" href="{{url}}">{{text}}</a>',
'sortDesc' => '<a class="desc" href="{{url}}">{{text}}</a>',
'sortAscLocked' => '<a class="asc locked" href="{{url}}">{{text}}</a>',
'sortDescLocked' => '<a class="desc locked" href="{{url}}">{{text}}</a>',
];