PHPPresentation
PHPPresentation copied to clipboard
can not read PPTX
$ppt = \PhpOffice\PhpPresentation\IOFactory::load($pptPath);
PhpOffice\PhpPresentation\Reader\PowerPoint2007::loadShapeRichText(): Argument #3 ($oSlide) must be of type PhpOffice\PhpPresentation\Slide\AbstractSlide, PhpOffice\PhpPresentation\Slide\Note given, called in /www/convert_center/vendor/phpoffice/phppresentation/src/PhpPresentation/Reader/PowerPoint2007.php on line 1375
Same issue, trying use another file, got this: PhpOffice\PhpPresentation\Shape\RichText\Paragraph::setSpacingBefore(): Argument #1 ($spacingBefore) must be of type int, float given
@uziins @NiZerin Hi, Could you send me a sample file with error, please, for reproducing the bug ?
@NiZerin @uziins This issue has been fixed by a maintainer. You can help him by sponsoring him through Github sponsors.