minimalistic-wallpaper-collection
minimalistic-wallpaper-collection copied to clipboard
Sometimes the website does not work
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
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.