• Resolved Javier Marcilla

    (@javier-marcill)


    Hi, I have a problem on several websites, on different servers: all tabs except the “Core WordPress” one are empty and no data is being displayed.

    This issue occurs even when all plugins are disabled, except for the Database Cleaner plugin.

    Interestingly, all the websites where this problem occurs share a common feature. When viewing the empty tabs on Database Cleaner, there is a Fetch/XHR notice in the Network tab of Chrome. The notice states: {“code”:”rest_forbidden”,”message”:”Lo siento, no tienes permisos para hacer eso.”,”data”:{“status”:401}}. In English, this message translates to “I’m sorry, you don’t have permission to do that.”

    It appears that the Rest API is enabled and other plugins are functioning properly. I have disabled the WAF (Web Application Firewall) but the problem persists. When I contacted one of the hosting providers, they advised me to reach out to the developer of the plugin since it involves permissions and the Rest API.

    It is possible to fix this issue? Maybe it is a hosting problem but as this is happening on two different ones I would like to have your opinion…

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi Javier,

    Sorry for the delay – did you find a solution?

    Did you also check your PHP Error Logs, and also your Developers Tools Console as some useful information might be logged there as well?

    But yeah, if REST is forbidden, it means what it means ?? It seems like you either have a security plugin that blocks all REST requests, or your hosting service is doing that (but they rarely do).

    Thread Starter Javier Marcilla

    (@javier-marcill)

    Hi Jordy, unfortunately I did not find any solution ??

    I tried again today, and then I had a look to the PHP error log and I see this:

    database-cleaner plugin:
    PHP Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in /wp-includes/pomo/translations.php:92

    (Click here for screenshot)

    In Chrome Console I see a lot of “Fetch failed loading”, please click here to see screenshot.

    I hope this information can be useful to identify the problem?

    Thanks,
    Javier


    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @javier-marcill,

    This error is not related to Database Cleaner; the translation system you have or something related to it seems to break. I am not sure why, I have never seen this error, and I don’t know any other user who experienced it. Could you debug a bit since you had this?

    Thread Starter Javier Marcilla

    (@javier-marcill)

    Hi Jordy, thank you for your response. Initially, I was unsure how to troubleshoot the issue with Database Cleaner. I don’t typically use any translation plugins, such as Loco, on these websites (keep in mind they are hosted on different hosting platforms), and they are not multilingual sites either. Additionally, I mentioned that I tried disabling all other plugins except for Database Cleaner, but it still didn’t work.

    Then, an idea occurred to me: all of my websites are configured for Spanish/Spain (es-ES), as all my clients and I are in Spain. What if I switch them to English?

    I tried this and found that Database Cleaner works when the sites are in English, but it doesn’t work when they are in Spanish. Does this give you any insights into what might be wrong and how to resolve it?

    Thread Starter Javier Marcilla

    (@javier-marcill)

    Hi Jordy, have you seen this?

    I can give you access to one of the Spanish sites so that you can take a look at this behavior if you’re interested. However, I believe that if you change any site or test site that you own to Spanish, you’ll encounter the same problem.

    Please let me know. Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t use the plugin on several sites (empty info on tabs)’ is closed to new replies.