• Resolved ziofester76

    (@ziofester76)


    Good morning, I have a problem with the plugin when I try to see a month other than the current month.

    does anyone have a suggestion?
    thanks

    the error is:
    POST https://www.teatrolesalette.it/wp-json/tribe/views/v2/html 400 (Bad Request)
    send @ jquery.min.js?ver=3.6.3:2
    ajax @ jquery.min.js?ver=3.6.3:2
    (anonimo) @ jquery-migrate.min.js?ver=3.4.0:2
    e. @ jquery-migrate.min.js?ver=3.4.0:2
    obj.request @ manager.min.js?ver=6.0.11:11
    obj.request @ datepicker.min.js?ver=6.0.11:11
    obj.submitRequest @ datepicker.min.js?ver=6.0.11:11
    obj.handleChangeMonth @ datepicker.min.js?ver=6.0.11:11
    dispatch @ jquery.min.js?ver=3.6.3:2
    y.handle @ jquery.min.js?ver=3.6.3:2
    trigger @ jquery.min.js?ver=3.6.3:2
    (anonimo) @ jquery.min.js?ver=3.6.3:2
    each @ jquery.min.js?ver=3.6.3:2
    each @ jquery.min.js?ver=3.6.3:2
    trigger @ jquery.min.js?ver=3.6.3:2
    _trigger @ bootstrap-datepicker.min.js?ver=6.0.11:5
    click @ bootstrap-datepicker.min.js?ver=6.0.11:5
    i @ jquery.min.js?ver=3.6.3:2
    dispatch @ jquery.min.js?ver=3.6.3:2
    y.handle @ jquery.min.js?ver=3.6.3:2

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • I fixed the navigation issue by deactivating plugins which we are not currently using.

    Plugin Support Darian

    (@d0153)

    Hi @ziofester76,

    Thanks for reaching out. Let me help you with this one.

    There could be a plugin/theme conflict on your end. Could you try running a conflict test? I suggest conducting these tests on a Staging Server.

    If you have a caching plugin or server-side caching, please try disabling them temporarily and check if that makes a difference.

    If that doesn’t help, could you provide the version of the following? This will help me understand how your system is set up.

    • PHP
    • WordPress
    • The Events Calendar
    • Theme

    Let me know how it goes.

    Thread Starter ziofester76

    (@ziofester76)

    Hello, we did the procedure but nothing changes.

    php 7,4,33

    wordpress 6.2

    The events calendar 6.0.11

    Theme: reputeWP (but i’ve tried with twenty twenty and the other standard wp theme)

    Plugin Support Darian

    (@d0153)

    Hi @ziofester76

    Thanks for your response.

    This could be related to a bug that we’re currently working on. Could you try the following if it helps?

    From /the-events-calendar/src/resources/js/views/manager.js line #496, replace accepts: 'html', to accepts: {},

    Let me know how it goes.

    Thread Starter ziofester76

    (@ziofester76)

    still doesn’t work

    obj.getAjaxSettings = function( $container ) {
    var ajaxSettings = {
    url: $container.data( ‘view-rest-url’ ),
    accepts: {},
    dataType: ‘html’,
    method: $container.data( ‘view-rest-method’ ) || ‘POST’,

    • This reply was modified 3 years, 1 month ago by ziofester76.
    Plugin Support tristan083

    (@tristan083)

    Hi @ziofester76 ,

    Thank you for your message, and I’m sorry to learn of the continued difficulties.

    I’ve checked your site, and it looks like this behavior is similar to an issue reported a while back (see: Pagination not working), and the cause had something to do with a mod_security rule being triggered. Could you check out the thread and see if whitelisting the triggered rule or disabling mod_security alleviates the situation?

    Thread Starter ziofester76

    (@ziofester76)

    there is no problem with mod_sec, but today i saw that the code inthe manager.js file is changed, and now work.

    obj.getAjaxSettings = function( $container ) {
    var ajaxSettings = {
    url: $container.data( ‘view-rest-url’ ),
    method: $container.data( ‘view-rest-method’ ) || ‘POST’,
    ‘async’: true, // async is keyword
    beforeSend: obj.ajaxBeforeSend,
    complete: obj.ajaxComplete,
    success: obj.ajaxSuccess,
    error: obj.ajaxError,
    context: $container,

    thank you

    Plugin Support Darian

    (@d0153)

    Hi @ziofester76

    Thanks for your confirmation and I’m glad that it is now working.

    If you have some time to review, that would be amazing!

    https://wordpress.org/support/plugin/the-events-calendar/reviews/

    I’d be closing this thread, and please do not hesitate to bump a new thread on our way. This allows us to track topics/issues efficiently and follow the WordPress Forum Guidelines

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

The topic ‘Error changing month’ is closed to new replies.