• Resolved Fissunix

    (@fissunix)


    Hi, I am trying to set up The Events Calendar on a web site under development . It is hosted on a cPanel-administrated server with the latest version of wordpress?and php 8.1

    Sadly, there is a problem with ajax calls so i f i click on month or day from the default list view, nothing is happening.

    Also if i switch?to month view by default, the calendar is just?empty ….

    Inspecting show this : 

    /wp-json/tribe/views/v2/html

    {"code":"rest_missing_callback_param","message":"Param\u00e8tre(s) manquant(s)\u00a0: url","data":{"status":400,"params":["url"]}}
    {
    "code": "rest_forbidden",
    "message": "Désolé, vous n’avez pas l’autorisation de faire cela.",
    "data": {
    "status": 403
    }
    }

    I tried to refresh the permalink and checked plugins & themes but nothing worked so.

    Note i also tried to install WP Rocked to exclude some material from cache. It didn’t worked either.

    I saw there were a couple of similar issues here but I couldn’t find a fix for my case.

    Any clue for me ?

    Thank you and have a great day !

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @fissunix ,

    Thank you for reaching out.

    Based on the response code, “rest_forbidden”, it looks like something is blocking the WordPress REST API, which The Events Calendar is a heavy user of.

    If you have some security plugins (i.e. Wordfence), ensure that its settings is not blocking the REST API. I would also recommend checking with your WebHost as some mod_security configuration could potentially attribute to the failure.

    Thread Starter Fissunix

    (@fissunix)

    Hi @tristan083 ,

    thanks a lot for you answer.

    It’s a work in progress website so there isn’t a security plugin installed so far. It looks like it’s more about the mod_security then. First I’ll try to install The Events Calendar on another website on the same cPanel server just to check if it’s work or not. If it doesn’t then I’ll reach to the webhost provider to check the global configuration and I’ll come back here with final results. Until then, have a great day !

    Plugin Support tristan083

    (@tristan083)

    Sound like a plan, @fissunix ! Have a wonderful day as well.

    Plugin Support Darian

    (@d0153)

    Hi there

    It appears that we haven’t heard back from you in a while, so I’ll assume that the matter has been resolved. If you need any more help, feel free to start a new thread and we’ll be happy to assist you.

    Thread Starter Fissunix

    (@fissunix)

    Hi, I said i come back here after doing some tests. Please don’t be so hurry to close tickets. Thank you.

    Thread Starter Fissunix

    (@fissunix)

    Hi guys, so i’ve made a test on another site and it appears the issue was a dumb one. it wasn’t a server config problem. it might help other people but be aware that using some kind of “force login” plugin while working on your site dev will block ajax requests in the calendar (the only thing i forgot to test in the first place). sorry for the inconvenience.

    Plugin Support Darian

    (@d0153)

    Hi @fissunix

    I’m glad to hear that you were able to resolve the issue.

    Please do not hesitate to bump a new thread on our way if you have other questions or concerns. This allows us to track topics/issues efficiently and follow the WordPress Forum Guidelines.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Ajax call forbidden, rest_missing_callback_param’ is closed to new replies.