-
Notifications
You must be signed in to change notification settings - Fork 1
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
Instagram credentials are not stored in site.txt on server #7
Comments
It seems that the catch is triggered in the fetch function, even if the call was succesfull. Doing that it overwrites the Instagram credentials:
If I add this the credentials are stored:
The exception isn't shown. Have to put some extra logging in place to see what happens. Very strange that this is not happening on my local dev environment. |
Extra logging on the exception below. I tried some debugging myself but can't really understand this error, because the values are there and are set.. Everything works perfectly if I prevent the exception catch from triggering.
|
Hi @lmgringhuis I'm quite busy atm so I'll take a look at this in the coming 2 weeks. Can't reproduce though so this will be a challenge to find out. (and very strange that it still works if you remove the catch because you need an access_token from instagram to have this working 🤔) |
And already thanks for your investigation and feedback btw @lmgringhuis 😉 |
When tested on local everything seems to work perfectly. However, when placed on a testing server, the Instagram credentials are not saved in the site.txt file, only the refreshed date:
The test server is running the same 3.7.0.1 Kirby instance and is running on PHP 8.1. Any idea why this is not working?
The text was updated successfully, but these errors were encountered: