Title: Error changing month
Last modified: April 4, 2023

---

# Error changing month

 *  Resolved [ziofester76](https://wordpress.org/support/users/ziofester76/)
 * (@ziofester76)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-changing-month-2/)
 * 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
 *     ```wp-block-code
       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:2ajax @ jquery.min.js?ver=3.6.3:2(anonimo) @ jquery-migrate.min.js?ver=3.4.0:2e. @ jquery-migrate.min.js?ver=3.4.0:2obj.request @ manager.min.js?ver=6.0.11:11obj.request @ datepicker.min.js?ver=6.0.11:11obj.submitRequest @ datepicker.min.js?ver=6.0.11:11obj.handleChangeMonth @ datepicker.min.js?ver=6.0.11:11dispatch @ jquery.min.js?ver=3.6.3:2y.handle @ jquery.min.js?ver=3.6.3:2trigger @ jquery.min.js?ver=3.6.3:2(anonimo) @ jquery.min.js?ver=3.6.3:2each @ jquery.min.js?ver=3.6.3:2each @ jquery.min.js?ver=3.6.3:2trigger @ jquery.min.js?ver=3.6.3:2_trigger @ bootstrap-datepicker.min.js?ver=6.0.11:5click @ bootstrap-datepicker.min.js?ver=6.0.11:5i @ jquery.min.js?ver=3.6.3:2dispatch @ jquery.min.js?ver=3.6.3:2y.handle @ jquery.min.js?ver=3.6.3:2
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-changing-month-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [colinkelly](https://wordpress.org/support/users/colinkelly/)
 * (@colinkelly)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-changing-month-2/#post-16627838)
 * I fixed the navigation issue by deactivating plugins which we are not currently
   using.
 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-changing-month-2/#post-16628421)
 * Hi [@ziofester76](https://wordpress.org/support/users/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](https://theeventscalendar.com/knowledgebase/k/testing-for-conflicts/)?
   I suggest conducting these tests on a [Staging Server](https://theeventscalendar.com/knowledgebase/k/creating-and-using-a-wordpress-staging-site).
 * 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](https://wordpress.org/support/users/ziofester76/)
 * (@ziofester76)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-changing-month-2/#post-16632888)
 * 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](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-changing-month-2/#post-16634083)
 * Hi [@ziofester76](https://wordpress.org/support/users/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](https://wordpress.org/support/users/ziofester76/)
 * (@ziofester76)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-changing-month-2/#post-16636187)
 * 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](https://wordpress.org/support/users/ziofester76/).
 *  Plugin Support [tristan083](https://wordpress.org/support/users/tristan083/)
 * (@tristan083)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-changing-month-2/#post-16639019)
 * Hi [@ziofester76](https://wordpress.org/support/users/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](https://wordpress.org/support/topic/pagination-not-working-202/#post-16386801)),
   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](https://wordpress.org/support/users/ziofester76/)
 * (@ziofester76)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-changing-month-2/#post-16648364)
 * 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 keywordbeforeSend: obj.ajaxBeforeSend,complete: obj.
   ajaxComplete,success: obj.ajaxSuccess,error: obj.ajaxError,context: $container,
   thank you
 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-changing-month-2/#post-16649405)
 * Hi [@ziofester76](https://wordpress.org/support/users/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/](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](https://wordpress.org/support/guidelines/)

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

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

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 8 replies
 * 5 participants
 * Last reply from: [Darian](https://wordpress.org/support/users/d0153/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/error-changing-month-2/#post-16649405)
 * Status: resolved