Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First argument for Slide::setSlideLayout() is false #824

Open
tognee opened this issue Oct 10, 2024 · 0 comments
Open

First argument for Slide::setSlideLayout() is false #824

tognee opened this issue Oct 10, 2024 · 0 comments

Comments

@tognee
Copy link

tognee commented Oct 10, 2024

I can't load a pptx file

I'm getting this error:

PhpOffice\PhpPresentation\Slide::setSlideLayout(): Argument #1 ($layout) must be of type PhpOffice\PhpPresentation\Slide\SlideLayout, false given, called in vendor/phpoffice/phppresentation/src/PhpPresentation/Slide.php on line 84

My code:

$presentation = IOFactory::load($filePath);

The file I'm using:
This file converted to pptx using LibreOffice 24.2.6.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant