• Resolved eyephone21

    (@eyephone21)


    I get an error when i try to edit any WP user.
    When i disable EME (Actully i’ve disabled the EME fB events, too) everything works fine.

    Here the error

    WordPress errore sul database You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'wp_id = 1 AND bookings.event_id=events.event_id AND CONCAT(events.event_start_da' at line 1 per la query select bookings.* from wp_eme_bookings as bookings,wp_eme_events as events where bookings.status=1AND wp_id = 1 AND bookings.event_id=events.event_id AND CONCAT(events.event_start_date,' ',events.event_start_time)>'2018-11-12 11:00:47' fatta da require_once('D:\inetpub\webs\mysite\wp-admin\user-edit.php'), do_action('show_user_profile'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, eme_user_profile, eme_get_bookings_list_for_wp_id, eme_get_bookings_by_wp_id

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Franky

    (@liedekef)

    Confirmed. Quick fix: go in eme_rsvp.php and change around line 942:
    From:
    $extra_condition="bookings.status=".RSVP_STATUS_ACTIVE. "AND ";
    To:
    $extra_condition="bookings.status=".RSVP_STATUS_ACTIVE. " AND ";
    (so just an extra space before “AND”).
    I’ll release a bugfix this evening.

    Thread Starter eyephone21

    (@eyephone21)

    Wow! That was quick! Thanks Franky!

    • This reply was modified 5 years, 5 months ago by eyephone21.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when edit WP users profiles’ is closed to new replies.