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 deprecation notice on WordPress 6.7 #7703

Open
donnapep opened this issue Nov 5, 2024 · 0 comments
Open

PHP deprecation notice on WordPress 6.7 #7703

donnapep opened this issue Nov 5, 2024 · 0 comments
Labels
[Pri] Low Cosmetic issue, low impact, easy workaround [Status] Triaged Issue has been triaged [Type] Bug
Milestone

Comments

@donnapep
Copy link
Collaborator

donnapep commented Nov 5, 2024

Steps to Reproduce

  1. Update to WordPress 6.7.
  2. Click on Lessons in the Sensei admin menu.

What I Expected

No PHP deprecation notice.

What Happened Instead

PHP Deprecated:  ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /Users/donnapep/Local Sites/senseitheme/app/public/wp-includes/formatting.php on line 4467

Context / Source

I tried to replace the 2 instances of ltrim I found in the Sensei codebase, but the error persisted. Given that this notice only appears on the Lessons menu, it does seem to be related to Sensei.

@donnapep donnapep added [Pri] Low Cosmetic issue, low impact, easy workaround [Status] Triaged Issue has been triaged [Type] Bug labels Nov 5, 2024
@donnapep donnapep modified the milestones: 4.24.4, 4.24.5 Nov 5, 2024
@donnapep donnapep modified the milestones: 4.24.5, 4.24.6 Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] Low Cosmetic issue, low impact, easy workaround [Status] Triaged Issue has been triaged [Type] Bug
Projects
None yet
Development

No branches or pull requests

1 participant