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

Serious problem #8

Open
lxzcl opened this issue Feb 26, 2021 · 1 comment
Open

Serious problem #8

lxzcl opened this issue Feb 26, 2021 · 1 comment

Comments

@lxzcl
Copy link

lxzcl commented Feb 26, 2021

The following is normal

http://api.mymc.xyz/json.php?host=mc.hypixel.net&port=25565

This

http://api.mymc.xyz/json.php?host=evermc.net&port=25565

There are more errors in the returned data, which prevents my project from using this aip normally.

The error is as follows

<br /> <b>Warning</b>: count(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/api.mymc.xyz/closeTags.php</b> on line <b>9</b><br /> <br /> <b>Warning</b>: count(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/api.mymc.xyz/closeTags.php</b> on line <b>10</b><br /> { "status": "Online", "motd": {...........

@lxzcl
Copy link
Author

lxzcl commented Feb 26, 2021

The problem is solved by:
in json.php
/*require_once 'closeTags.php';*/ /*'html' => closeTags($hostNameHtml)*/ /*'html' => closeTags($hostNameHtml)*/

But the fundamental problem is still not solved. . . Hope to improve

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