[User Warning] None of the following templates could be found: Array ( [0] => Array ( [type] => Includes [0] => MemberDetails ) [1] => MemberDetails ) in themes "Array ( [0] => $public [1] => mhdesign [2] => $default ) "

GET /things-you-need-to-know/profile/mike-henden

Line 204 in /var/www/vhosts/mhdesign.co.nz/httpdocs/vendor/silverstripe/framework/src/View/SSViewer.php

Source

195             $message .= print_r($templates, true);
196 
197             $themes = self::get_themes();
198             if (!$themes) {
199                 $message .= ' (no theme in use)';
200             } else {
201                 $message .= ' in themes "' . print_r($themes, true) . '"';
202             }
203 
204             user_error($message ?? '', E_USER_WARNING);
205         }
206     }
207 
208     /**
209      * Triggered early in the request when someone requests a flush.
210      */

Trace

GET /things-you-need-to-know/profile/mike-henden

[Emergency] Uncaught ValueError: Path cannot be empty

GET /things-you-need-to-know/profile/mike-henden

Line 613 in /var/www/vhosts/mhdesign.co.nz/httpdocs/vendor/silverstripe/framework/src/View/SSViewer.php

Source

604         SSViewer::$topLevel[] = $item;
605 
606         $template = $this->chosen;
607 
608         $cacheFile = TEMP_PATH . DIRECTORY_SEPARATOR . '.cache'
609             . str_replace(['\\','/',':'], '.', Director::makeRelative(realpath($template ?? '')) ?? '');
610         $lastEdited = filemtime($template ?? '');
611 
612         if (!file_exists($cacheFile ?? '') || filemtime($cacheFile ?? '') < $lastEdited) {
613             $content = file_get_contents($template ?? '');
614             $content = $this->parseTemplateContent($content, $template);
615 
616             $fh = fopen($cacheFile ?? '', 'w');
617             fwrite($fh, $content ?? '');
618             fclose($fh);
619         }

Trace