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

Deprecation warning #2704

Closed
2 tasks
vatsake opened this issue Nov 26, 2024 · 3 comments
Closed
2 tasks

Deprecation warning #2704

vatsake opened this issue Nov 26, 2024 · 3 comments
Labels
Bug Report Status: Waiting for feedback Question has been asked, waiting for response from PR author

Comments

@vatsake
Copy link

vatsake commented Nov 26, 2024

Describe the bug and add attachments

str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/vendor/phpoffice/phpword/src/PhpWord/Shared/Text.php on line 67

Expected behavior

Steps to reproduce

PHPWord version(s) where the bug happened

1.3.0

PHP version(s) where the bug happened

8.2

Priority

  • I want to crowdfund the bug fix (with @algora-io) and fund a community developer.
  • I want to pay the bug fix and fund a maintainer for that. (Contact @Progi1984)
@Progi1984
Copy link
Member

@vatsake Could you give us more context or a stacktrace ?

@Progi1984 Progi1984 added the Status: Waiting for feedback Question has been asked, waiting for response from PR author label Jan 22, 2025
@vatsake
Copy link
Author

vatsake commented Jan 22, 2025

@vatsake Could you give us more context or a stacktrace ?

Tbh, I can't even remember.

@vatsake vatsake closed this as completed Jan 22, 2025
@vatsake
Copy link
Author

vatsake commented Jan 23, 2025

@Progi1984
It was mostly my fault, I didn't pass any parameters for addText();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Status: Waiting for feedback Question has been asked, waiting for response from PR author
Development

No branches or pull requests

2 participants