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

  1. lemodesign
    Posted 2 years 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?


  2. angelo_nwl
    NetWebLogic Support
    Posted 2 years ago #

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

  3. lemodesign
    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic