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 Deprecated: strncmp(): Passing null to parameter #1 #44792

Closed
uuroveits opened this issue Oct 8, 2022 · 1 comment · Fixed by #44829
Closed

PHP Deprecated: strncmp(): Passing null to parameter #1 #44792

uuroveits opened this issue Oct 8, 2022 · 1 comment · Fixed by #44829
Assignees
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Code Quality Issues or PRs that relate to code quality

Comments

@uuroveits
Copy link

Description

I´m using Gutenberg 14.2.0
WordPress is creating a log-file (https://www.abu-sgbu.de/wp-content/debug.log)
There occurs concerning Gutenberg:
PHP Deprecated: strncmp(): Passing null to parameter #1 ($string1) of type string is deprecated in /is/htdocs/wp12019806_ZQF75OIS9W/www/abusgbu/wp-content/plugins/gutenberg/lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php on line 1064
Question: is this a bug of WP RSS Aggregator or can I as user of WP RSS Aggregator solve this problem?
Reg
Jochen

Step-by-step reproduction instructions

  1. Using Gutenberg
  2. error-message in https://www.abu-sgbu.de/wp-content/debug.log

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@Mamaduka Mamaduka added Needs Testing Needs further testing to be confirmed. Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json labels Oct 9, 2022
@talldan talldan added [Type] Bug An existing feature does not function as intended and removed Needs Testing Needs further testing to be confirmed. labels Oct 10, 2022
@talldan
Copy link
Contributor

talldan commented Oct 10, 2022

Thanks for creating the ticket. I believe this code needs to be updated in Gutenberg to meet PHP compatibility standards. I also noticed the warnings when trying to get the Gutenberg unit tests running on PHP 8.1 - #44566.

@talldan talldan added [Type] Code Quality Issues or PRs that relate to code quality and removed [Type] Bug An existing feature does not function as intended labels Oct 10, 2022
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Oct 10, 2022
@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants