Undefined index: geo

This topic contains 2 replies, has 3 voices, and was last updated by  Naveen Giri 4 months, 1 week ago.

  • Author
    Posts
  • #536319

    Alain CHAXEL
    Full Member
    Post count: 18

    Hi, I’ve got an error on single event page :

    Notice: Undefined index: geo in /wp-content/plugins/geodir_event_manager/includes/core-functions.php on line 241

    Steps to reproduce :

    1. Uncheck Show latitude and longitude in Event Settings Address field
    2. Submit an event from front-end with a manual address and manual city

    Since the coordinates don’t autopopulate when address is not found, and html required validation is missing because fields latitude and longitude are missing too, the form is submitted and the event is created.

    Problem is the code in core-functions.php asserts that this field is set.

    #536333

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #536485

    Naveen Giri
    Moderator
    Post count: 1559

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Undefined index: geo’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.