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

Invalid offset in request warning #90

Open
NicktheGeek opened this issue Nov 18, 2024 · 0 comments
Open

Invalid offset in request warning #90

NicktheGeek opened this issue Nov 18, 2024 · 0 comments

Comments

@NicktheGeek
Copy link
Contributor

I help maintain a large network of sites and the logs are being cluttered with the error:

PHP message: Warning: Trying to access array offset on value of type null in /var/www/wp-content/plugins/wp101/includes/class-api.php on line 483 

PHP message: Warning: Trying to access array offset on value of type null in /var/www/wp-content/plugins/wp101/includes/class-api.php on line 497

There are no checks in the code to ensure the response is valid, so it triggers this error. It is fixed in #89

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