Title: irolla's Replies | WordPress.org

---

# irolla

  [  ](https://wordpress.org/support/users/irolla/)

 *   [Profile](https://wordpress.org/support/users/irolla/)
 *   [Topics Started](https://wordpress.org/support/users/irolla/topics/)
 *   [Replies Created](https://wordpress.org/support/users/irolla/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/irolla/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/irolla/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/irolla/engagements/)
 *   [Favorites](https://wordpress.org/support/users/irolla/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/irolla/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/irolla/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] load_views.js: Cannot read property '1' of null](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-load_viewsjs-cannot-read-property-1-of-null/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-load_viewsjs-cannot-read-property-1-of-null/#post-2961546)
 * Fixed for me. Variable _SERVER[SCRIPT_NAME] was missing.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/page/2/#post-2947818)
 * [@yani](https://wordpress.org/support/users/yani/).iliev
    Do you always get my
   replies via email? It’s a bit confusing since there is no ticket number in “Subject
   field”. Can I reply somewhere but not in email?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/page/2/#post-2947814)
 * [@tekhneco](https://wordpress.org/support/users/tekhneco/):
    If give me your 
   IM, I’ll try to help
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/page/2/#post-2947812)
 * @TekneCO try to go wp-admin -> events -> add new event and open source code of
   this page. Try searching “add_new_event.js”.
    I had no such js before commented
   out the ‘if’ in class-ai1ec-app-controller.php, that’s why nothing worked for
   me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/page/2/#post-2947810)
 *     ```
       // Load the js needed when you edit an event / add a new event
       //if( $this->check_if_creating_new_event() === TRUE || $this->check_if_editing_event() === TRUE ) {
       // Load script for adding / modifying events
       $script_to_load = 'add_new_event.js';
       //}
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/page/2/#post-2947808)
 * I found it:
    ./wp-content/plugins/all-in-one-event-calendar/app/controller/class-
   ai1ec-app-controller.php: // Load the js needed when you edit an event / add 
   a new event if( $this->check_if_creating_new_event() === TRUE || $this->check_if_editing_event()
   === TRUE ) { // Load script for adding / modifying events $script_to_load = ‘
   add_new_event.js’; } If I comment out the condition then it loads “add_new_event.
   js” and I’m able to pick up a date and time in “add event” admin page.
 * [@yani](https://wordpress.org/support/users/yani/).iliev could you please check
   it?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/page/2/#post-2947807)
 * I’ve already tried to activate one of standart WP themes and ajax still doesn’t
   work in wp-admin -> events -> add event -> choose date
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/#post-2947806)
 * It’s still doesn’t work 🙁
    Nothing in developer console(chrome), nothing in 
   php-logs.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/#post-2947762)
 * Hey guys,
    Any progress on this issue? You still have an access to my installation.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/#post-2947696)
 * Just did the following things:
    1. Installed new wordpress 2. Installed my wp
   theme 3. Installed all-in-one calendar plugin 1.8.2 from WP repo 4. Added event–
   ajax works OK when adding dates for event 5. Upgraded to 1.8.3 premium version
   6. Ajax stopped working in ‘Add event’
 * I’ve already sent an address of the new installation to your email, please check
   it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/#post-2947691)
 * I’ve replied to [help@then.ly](https://wordpress.org/support/users/irolla/replies/help@then.ly?output_format=md)
   with wp-admin credentials. Did you get it?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/#post-2947684)
 * sent
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/#post-2947680)
 * I’ve added some debug:
 *     ```
       ./wp-content/plugins/all-in-one-event-calendar/app/view/admin/js/scripts/calendar/load_views.js:
       50         var initialize_view = function() {
        51                 // Make current view actively selected in view dropdown button.
        52                 var classes = $('body').attr( 'class' ).split( ' ' );
        53                 console.log("[debug] classes = " + classes); // DEBUG
        54                 for ( i in classes ) {
        55                         // Extract current view from the body class.
        56                         var matches = /ai1ec-action-([\w]+)/.exec( classes[i] );
        57                         console.log("[debug] matches = " + matches); // DEBUG
        58                         if ( matches != null ) break;
        59                 }
        60                 // Get the dropdown menu link of the active view.
        61                 var $selected_view = $( '#ai1ec-view-' + matches[1] );
       ```
   
 * Results:
 *     ```
       [debug] classes = page,page-id-125,page-template,page-template-page-FullWidth-php,logged-in,admin-bar,customize-support,undefined load_views.js:53
       [debug] matches = null load_views.js:57
       [debug] matches = null load_views.js:57
       [debug] matches = null load_views.js:57
       [debug] matches = null load_views.js:57
       [debug] matches = null load_views.js:57
       [debug] matches = null load_views.js:57
       [debug] matches = null load_views.js:57
       [debug] matches = null load_views.js:57
       Uncaught TypeError: Cannot read property '1' of null : load_views.js:61
       ```
   
 * Looks like there is no ‘ai1ec-action-‘ classes
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/#post-2947678)
 * It’s under construction. I can give you a link with pass&login in private
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Ajax in choosing dates/excludes doesn't work](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/)
 *  Thread Starter [irolla](https://wordpress.org/support/users/irolla/)
 * (@irolla)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-ajax-in-choosing-datesexcludes-doesnt-work/#post-2947672)
 * And I’ve already tried to completely reinstall calendar. It doesn’t help.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/irolla/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/irolla/replies/page/2/?output_format=md)