Support » Plugin: Simple Calendar - Google Calendar Plugin » Upgrading to Version 2.2.6 broke the way my calendar displays

  • Resolved Lonnie

    (@lonniehb)


    As soon as I upgraded to version 2.2.6 my calendar no longer works properly.

    It shows up as a tiny calendar, the hover events are broken, all styles are broken.

    I’ve commented out the custom styles I had in the css. I tried changing the theme. I tried adding ‘grid’ to the shortcode. Nothing is working.

    You can view the calendar HERE

    https://wordpress.org/plugins/google-calendar-events/

Viewing 15 replies - 16 through 30 (of 37 total)
  • Plugin Contributor Fulvio Notarstefano

    (@nekojira)

    sure, thanks for letting me know

    unfortunately I could not reproduce the issue – I think the issue has to do with CSS (z-index and visibility classes)from your theme/plugins and the markup inserted by the calendar where it gets printed

    are you sure that the theme, custom css code or the plugins aren’t interfering with the calendar? this can be verified by deactivating all of them, reverting to default 2014 or 2015 theme, clearing the caches, then checking the calendar… Then reactivating one plugin, clear the cache, check the calendar again. Until you find a combination that creates the problem.

    Lonnie said he tried to do that (also with clearing caches?), have you tried too as well?

    Hello – experiencing same issue after upgrade.

    Calendar no longer is displaying properly – http://www.volleyballbc.org/play/dropin/

    Worked fine up until latest version.

    Please let us know if you figure out what is going on. This was working great before and we really liked the way it displayed.

    Thank you!

    Plugin Contributor Fulvio Notarstefano

    (@nekojira)

    it looks like a similar issue, have you tried

    1. disable all plugins except google calendar events
    2. switch back to 2014 or 2015 theme
    3. clear cache
    5. check if now the calendar is displaying fine
    6. reactivate your theme
    7. clear the cache
    8. check if the calendar is ok
    9. reactivate one plugin at the time
    10. between each reactivation clear cache and check calendar

    until you find a combination that seems to cause problems

    I was just made aware that the calendar is no longer working on our website. It worked fine before I did the 2.2.6 update. Now there is just nothing showing up – no hover, can’t even go to next month.
    here is a link http://georgetownbiblechurch.com/calendar/

    You guys helped me get it working earlier this year so I trust you will have the answer again

    Thread Starter Lonnie

    (@lonniehb)

    Had any luck recreating this issue Fulvio? I need to revert back to 2.2.5 now, I can’t leave the broken version up any longer.

    How do you revert back to 2.2.5. I would like to do that until they can figure this out. A blank calendar isn’t much good.

    Plugin Contributor Fulvio Notarstefano

    (@nekojira)

    @lonnie no sorry haven’t yet 🙁 but it’s likely both me and Phil will look at this by monday

    to revert to your old version you can manually overwrite the plugin with https://downloads.wordpress.org/plugin/google-calendar-events.2.2.5.zip

    @janet I think your issue is due to other reasons and perhaps you don’t need to switch back to 2.2.5

    from here I can see that you have multiple javascript issues on your site:

    main.js:61 You have included the Google Maps API multiple times on this page. This may cause unexpected errors.Al @ main.js:61
    front.js:8 Uncaught TypeError: $this.attr(...).index is not a function
    VM157:9 Uncaught ReferenceError: H is not defined(anonymous function) @ VM157:9Oh.main @ main.js:61(anonymous function) @ main.js:41(anonymous function) @ main.js:29(anonymous function) @ main.js:29(anonymous function) @ main.js:29hg @ main.js:30dg.(anonymous function).Oe @ main.js:29(anonymous function) @ common.js:1
    VM163:7 Uncaught ReferenceError: H is not defined

    none of these is related to the Google Calendar Events plugin

    try to go through the list of steps above in my previous post

    Plugin Contributor Fulvio Notarstefano

    (@nekojira)

    @lonnie you just reverted to 2.2.5 right?

    Thread Starter Lonnie

    (@lonniehb)

    Yes, I’m back running 2.2.5 with a little bit of custom CSS in my main stylesheet. If I can find some time I’ll copy that site and put it on a test server so we can better troubleshoot it.

    I’m having the same problem with the recent update (the grid view is broken; the events are listed within the grid throwing everything off).

    I’ll downgrade to 2.2.5 for the time being.

    Plugin Contributor Fulvio Notarstefano

    (@nekojira)

    may I know which host are you using please?

    Thread Starter Lonnie

    (@lonniehb)

    The site I am working on is hosted with BlueHost.

    Plugin Contributor Fulvio Notarstefano

    (@nekojira)

    has any of you guys disabled the default calendar styles from the plugin options? can you enable them back with 2.2.6, clear the cache and see what happens?

    thanks

    Aloha, Fulvio.

    I think, I found the solution for the problem 🙂

    Okay, let me explain what I have done:

    – at first I installed version 2.2.6 again to my blog

    – than I changed every file step by step to the files from version 2.2.5

    – during this process I discovered, that the file “class-google-calendar-events.php” must be the problematic one.

    – than I compared both versions of this file (2.2.5 against 2.2.6) and I found the following:

    In 2.2.5 you can find the following lines of code ->

    add_action( ‘init’, array( $this, ‘enqueue_public_scripts’ ) );
    add_action( ‘init’, array( $this, ‘enqueue_public_styles’ ) );

    In 2.2.6 you find on the same place these two lines of code ->

    add_action( ‘wp_enqueue_scripts’, array( $this, ‘enqueue_public_scripts’ ) );
    add_action( ‘wp_enqueue_scripts’, array( $this, ‘enqueue_public_styles’ ) );

    Okay! Prepared with this knowledge I edited the file as follows:

    /*add_action( ‘wp_enqueue_scripts’, array( $this, ‘enqueue_public_scripts’ ) );
    add_action( ‘wp_enqueue_scripts’, array( $this, ‘enqueue_public_styles’ ) ); */

    add_action( ‘init’, array( $this, ‘enqueue_public_scripts’ ) );
    add_action( ‘init’, array( $this, ‘enqueue_public_styles’ ) );

    – I than saved the file back to my blog and voilá it works!

    I changed nothing else than this two lines of code. I promise 😉

    Now its up to you to find why it will works with this small changes …

    See ya, Maic.

    P.S: Actually version 2.2.6 is installed with the modified “class-google-calendar-events.php”

    Fulvio said:”has any of you guys disabled the default calendar styles from the plugin options? can you enable them back with 2.2.6, clear the cache and see what happens?”

    I tried it and it would change nothing. The grid-view looked still messy 🙁

Viewing 15 replies - 16 through 30 (of 37 total)
  • The topic ‘Upgrading to Version 2.2.6 broke the way my calendar displays’ is closed to new replies.