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

Sometimes the website does not work #100

Open
HecurC opened this issue Dec 14, 2023 · 1 comment
Open

Sometimes the website does not work #100

HecurC opened this issue Dec 14, 2023 · 1 comment

Comments

@HecurC
Copy link

HecurC commented Dec 14, 2023

Sometimes when i work with this i can get an error:
Fatal error
: Uncaught TypeError: Cannot access offset of type string on string in /var/task/user/api/index.php:228 Stack trace: #0 {main} thrown in

@DenverCoder1
Copy link
Owner

DenverCoder1 commented Dec 14, 2023

It may be an issue with an unexpected response from the GitHub API.

When accessing the API, for example https://api.github.com/repositories/351656993/contents/images, it shows a list of objects which each contain "download_url" which is why it usually does not throw an error.

If that line throws an error, it probably means the format of the response from GitHub was different and it could not be parsed the usually way.

It may be a ratelimit issue or temporary server problem, but it can't be known unless the underlying error or response is logged or displayed which it currently is not.

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

2 participants