Closed sandrodz closed 4 years ago
OK,
I see it happens with:
<?php
include __DIR__.'/vendor/autoload.php';
error_reporting(E_NOTICE);
$pug = new Pug([
'enable_profiler' => true,
]);
$pug->display('p Hello');
Indeed I have to map the options from Pug to Phug.
Hey @kylekatarnls !
Have a look, this is where I run it: https://github.com/kubikplugins/pugpress/blob/master/src/class-pugpress.php#L167-L175
And options: https://github.com/kubikplugins/pugpress/blob/master/src/class-pugpress.php#L77-L86
It should be fixed in the next version, you can try it requiring "pug-php/pug": "dev-master"
Released in 3.4.1. Thanks!
Thank you. Your awlays super efficient and fast.
Hello,
Recently tried enable_profiler parameter and got some undefined index errors:
Thanks!