Argument 3 passed to PhpOffice\PhpPresentation\Reader\PowerPoint2007::loadShapeRichText() must be an instance of PhpOffice\PhpPresentation\Slide\AbstractSlide, instance of PhpOffice\PhpPresentation\Slide\Note given, called in phpoffice/phppresentation/src/PhpPresentation/Reader/PowerPoint2007.php on line 1375
$reader = IOFactory::createReader('PowerPoint2007'); $fileClass = $reader->load("./3.pptx"); //$counts = $fileClass -> getSlideCount();
Argument 3 passed to PhpOffice\PhpPresentation\Reader\PowerPoint2007::loadShapeRichText() must be an instance of PhpOffice\PhpPresentation\Slide\AbstractSlide, instance of PhpOffice\PhpPresentation\Slide\Note given, called in phpoffice/phppresentation/src/PhpPresentation/Reader/PowerPoint2007.php on line 1375
`
`