I keep getting this error:
Fatal error: Call to a member function export() on null in...
My single page class starts like this:
class MyReport extends \koolreport\KoolReport
{
use \koolreport\instant\SinglePage;
use \koolreport\bootstrap4\Theme;
use \koolreport\export\Export;
called thus:
php $report->end()->export()->pdf(array(
"format"=>"A4",
"orientation"=>"portrait"
))->toBrowser("myfile.pdf");
I notice there is no export.php in the export folder, rather Exportable.php.
How do I make it work? I have phantomjs dropped in a created bin folder under export.