WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] JS bug "Bookings / Registration" (3 posts)

  1. lemodesign
    Member
    Posted 9 months ago #

    I have a strange problem in the backend of the plugin:

    When i try to do anything in the "Bookings / Registration" box on my event page I get the following error:

    ------------------------
    Uncaught TypeError: Cannot read property 'top' of undefined - events-manager.js?ver=5.51:207
    ------------------------

    The line it is referring to is saying:
    ------------------------
    $('html, body').animate({ scrollTop: slot.offset().top - 30 }); //sends user to form
    ------------------------

    I already tried the following things:
    - Turning off all other plugins
    - Update the plugin
    - Reinstall the plugin
    - Testing on a different browsers

    I also tested the plugin on a different location with the same version of WordPress (multisite) and same files that don't work on the live server. There it works fine, so i assume something is wrong with my installation of WordPress but its kinda hard to pin point down what is going on.

    Anyone have any tips of suggestions on where to look?

    http://wordpress.org/plugins/events-manager/

  2. angelo
    NetWebLogic Support
    Posted 9 months ago #

    how about temporarily switching to the default theme to rule out any theme-specific problems ?

  3. lemodesign
    Member
    Posted 9 months ago #

    This was the problem, I wasn't aware that there was a folder named Admin in my theme folder. Thank you so much for the tip!

    So a tip for everybody:
    There are also things in your theme that relate to the back-end of this plugin.

Reply

You must log in to post.

About this Plugin

About this Topic