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

PHP 8.1: BUG: Message: realpath(): Passing null to parameter #1 ($path) of type string is deprecated #51

Open
gidzr opened this issue Jul 24, 2023 · 0 comments

Comments

@gidzr
Copy link

gidzr commented Jul 24, 2023

Changing line 31 in OfficeConverter.php

public function __construct($filename, $tempPath = null, $bin = 'libreoffice', $prefixExecWithExportHome = true, $logPath = null)

to

$logPath ='' or $logPath = false

Fixed the problem for me.

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

No branches or pull requests

1 participant