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

Unable to retrieve web server name and version properly #35

Closed
tiagohillebrandt opened this issue Jun 3, 2018 · 1 comment
Closed

Unable to retrieve web server name and version properly #35

tiagohillebrandt opened this issue Jun 3, 2018 · 1 comment
Assignees
Milestone

Comments

@tiagohillebrandt
Copy link
Member

@tiagohillebrandt tiagohillebrandt commented Jun 3, 2018

There are two warnings showing up when running WP Healthcheck in PHP 7.2:

Warning: Illegal string offset 'service' in /var/www/wphc.tiagohillebrandt.com/wp-content/plugins/wp-healthcheck/includes/class-wp-healthcheck.php on line 357

Warning: Illegal string offset 'version' in /var/www/wphc.tiagohillebrandt.com/wp-content/plugins/wp-healthcheck/includes/class-wp-healthcheck.php on line 360

We need to address them as soon as possible.

@tiagohillebrandt

This comment has been minimized.

Copy link
Member Author

@tiagohillebrandt tiagohillebrandt commented Jun 3, 2018

Bug is happening due to an empty index operator being applied in a string, which is not allowed anymore since PHP 7.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.