Perch Content Custom not showing list of pages

  • Hi


    I have been using perch_content_custom to list sub pages under a certain main section so for example I have a programmes main page which has 5 sub pages underneath it. On the programmes main page I was using a perch_content_custom to pull content from a region from those 5 sub pages to show an image and title of those pages within the programmes main page. Then the user would click these to navigate to those sub pages.


    This is not all of a sudden now not working.


    Here's the code I have been using

    PHP
    1. <?php
    2. perch_content_custom('Main Content', array(
    3. 'page'=>'/programmes/*',
    4. 'template'=>'programme_list.html',
    5. ));
    6. ?>


    I also tried using this code

    PHP
    1. <?php
    2. perch_content_custom('Main Content', [
    3. 'page' => '/programmes/*',
    4. 'template'=>'programme_list.html'
    5. ]);
    6. ?>

    I am using PHP 7.2 and have tried using 7.3 it's perch version 2.8.34


    Am I missing something from the above code? Is there something which needs switched on at server level to make it work which has maybe been switched off?


    Thanks in advance for any help.

  • Abit more information on this the MySQL server is 5.7.31 and perch_content_custom works whenever the wildcard is removed and I put in a specific path to one of the sub pages. Not sure if this can be fixed on this version of perch or if I need to update to the newest version?