Error : $errstr
in file '$errfile' (line '$errline').
ErrCode : $errno HTML; return true; }); if (is_file(__DIR__ . '/vendor/autoload.php')) { include_once(__DIR__ . '/vendor/autoload.php'); } try { // instance Pico $pico = new Pico( __DIR__, // root dir 'vendor/picocms/pico/config/', // config dir 'vendor/picocms/pico/plugins/', // plugins dir 'vendor/picocms/themes/' // themes dir ); // run application $output = $pico->run(); } catch (Throwable $th) { $messages[] = << Exception : {$th->__toString()} HTML; } if (!empty($messages)) { $formattedMessages = implode("\n", $messages); $formattedMessages = << $formattedMessages HTML; if (preg_match('/]*id="main"[^>]*>/i', $output, $match)) { $output = str_replace($match[0], $match[0].$formattedMessages, $output); } elseif (preg_match('/]*>/i', $output, $match)) { $output = str_replace($match[0], $match[0].$formattedMessages, $output); } else { $output = $formattedMessages.$output; } } echo $output;