Title: constantly uknown error ;)
Last modified: June 9, 2023

---

# constantly uknown error ;)

 *  [carlosmooth](https://wordpress.org/support/users/carlosmooth/)
 * (@carlosmooth)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/constantly-uknown-error/)
 * Dear Marek,
 *  I have been using your great gallery plugin for the last two years, however 
   a last weeks were a nightmare, cannot keep gallery alive for more than 15-60 
   min. I am not sure is it caused by php newer version (I cannot use anymore 7.
   x – and had to migrate to 8.x+), any suggestion, or would you like me to send
   some log files for checking?
 * Thanks,
 * Carlos

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [Marek Dědič](https://wordpress.org/support/users/marekdedic/)
 * (@marekdedic)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/constantly-uknown-error/#post-16601951)
 * Hi,
   sorry for the slower response. Can you please [enable debug logging](https://wordpress.org/documentation/article/debugging-in-wordpress/)
   and send me what it tells you? Either here or at [developer@dedic.eu](https://wordpress.org/support/topic/constantly-uknown-error/developer@dedic.eu?output_format=md).
 * Thanks,
   Marek
 *  Thread Starter [carlosmooth](https://wordpress.org/support/users/carlosmooth/)
 * (@carlosmooth)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/constantly-uknown-error/#post-16602642)
 * Thank you Mark, I have done setup debug and now I am collecting data after restart
   🙂
 *  Thread Starter [carlosmooth](https://wordpress.org/support/users/carlosmooth/)
 * (@carlosmooth)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/constantly-uknown-error/#post-16605608)
 * I have asked a service provider for setup it for me as maybe problem on their
   side, that I was unable to get any error log from wp… keep in touch, Thanks Marek
 *  Thread Starter [carlosmooth](https://wordpress.org/support/users/carlosmooth/)
 * (@carlosmooth)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/constantly-uknown-error/#post-16671577)
 * Good morning Marek, after few weeks of investigations I ve got a reply:
 * _The ‘unknown error’ you were previously getting is now showing this error below:_
 * _refresh token must be passed in or set as part of setAccessToken_
 * _Apologies as we can’t seem to make out any sense to this error as well as this
   is coming from a 3rd party source or plugin from WP._
 * _Are you able to ask the plugin makers on this see what this error means? Thanks._
 * _I can guarantee though your wordpress server is healthy at the moment and no
   issues are seen._
 * _Best regards,_
 * I have checked and what about implementing this solution: [https://authjs.dev/guides/basics/refresh-token-rotation](https://authjs.dev/guides/basics/refresh-token-rotation)
 * I have refreshed all tokens, secrets etc, the same issue
 * Nothing from wp-error.logs, mostly deprecated function in php.
 * I think other users have the same issue, at the moment I am using use-your-drive
   commercial plugin which is working fine over the weeks. If you want to have a
   look into it code let me know please, or you can download yourself.
 * Thank you
   Carlos
 *  Plugin Author [Marek Dědič](https://wordpress.org/support/users/marekdedic/)
 * (@marekdedic)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/constantly-uknown-error/#post-16672623)
 * Ok, that’s something to go on 🙂 Q: Is your app set in Google console to Internal
   or External and Testing or In Production?
 *  Thread Starter [carlosmooth](https://wordpress.org/support/users/carlosmooth/)
 * (@carlosmooth)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/constantly-uknown-error/#post-16672635)
 * I have tried all options 😉 an finally got:
   deleted img as logged with different
   account
 * so I have tried many options 😉
 * ![](https://i0.wp.com/www.smooth.photography/shares/Capture1.GIF?ssl=1)
    -  This reply was modified 3 years, 3 months ago by [carlosmooth](https://wordpress.org/support/users/carlosmooth/).
    -  This reply was modified 3 years, 3 months ago by [carlosmooth](https://wordpress.org/support/users/carlosmooth/).
    -  This reply was modified 3 years, 3 months ago by [carlosmooth](https://wordpress.org/support/users/carlosmooth/).
 *  Thread Starter [carlosmooth](https://wordpress.org/support/users/carlosmooth/)
 * (@carlosmooth)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/constantly-uknown-error/#post-16675778)
 * i have checked sites and added dns with google verification code, working already
   for 1hr 😉 and stopped, refresh token msg
    -  This reply was modified 3 years, 3 months ago by [carlosmooth](https://wordpress.org/support/users/carlosmooth/).
 *  Thread Starter [carlosmooth](https://wordpress.org/support/users/carlosmooth/)
 * (@carlosmooth)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/constantly-uknown-error/#post-16681418)
 * Ive got also a reply from host provider: No worries Carlos, just let us know 
   what the plugin author needs so we can help out further on the case as well, 
   if requires changes or specific php modules we can review that see if we can 
   apply it on our server but this hosting package you’re using should already be
   able to cater any wordpress site.
 *  Plugin Author [Marek Dědič](https://wordpress.org/support/users/marekdedic/)
 * (@marekdedic)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/constantly-uknown-error/#post-16760510)
 * Hi, you are not the only one reporting this recently, however, I haven’t quite
   figured out what causes this yet…
 * I would suggest reinstalling the plugin to clean up all the tokens, trying to
   set the app as public and enabling debug logging (which also gives more details
   about the error).
 * Thanks,
   Marek
 *  Thread Starter [carlosmooth](https://wordpress.org/support/users/carlosmooth/)
 * (@carlosmooth)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/constantly-uknown-error/#post-16802845)
 * results: refresh token must be passed in or set as part of setAccessToken,
 * btw, which plugin are you using now? my one is:
 * WP Cloud Plugin Use-your-Drive (Google Drive), maybe it will help Marek to sort
   out issues
    -  This reply was modified 3 years, 2 months ago by [carlosmooth](https://wordpress.org/support/users/carlosmooth/).
 *  Thread Starter [carlosmooth](https://wordpress.org/support/users/carlosmooth/)
 * (@carlosmooth)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/constantly-uknown-error/#post-16803961)
 * I have created a new OAuth and is working now for 5 hrs, finger cross … I will
   let you know if anything change 😉
 * Have a good day!
 *  Thread Starter [carlosmooth](https://wordpress.org/support/users/carlosmooth/)
 * (@carlosmooth)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/constantly-uknown-error/page/2/#post-16805833)
 * good morning, seems to be working now.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘constantly uknown error ;)’ is closed to new replies.

 * ![](https://ps.w.org/skaut-google-drive-gallery/assets/icon.svg?rev=3264618)
 * [Image and video gallery from Google Drive](https://wordpress.org/plugins/skaut-google-drive-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/skaut-google-drive-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/skaut-google-drive-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/skaut-google-drive-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/skaut-google-drive-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/skaut-google-drive-gallery/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [carlosmooth](https://wordpress.org/support/users/carlosmooth/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/constantly-uknown-error/page/2/#post-16805833)
 * Status: not resolved