• Resolved aidagp

    (@aidagp)


    Hi everyone, i’m getting an error when sending eme_add_booking_form with a message in italian (which I can’t find in the plugin templates):

    Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /web/htdocs/www.***********.it/home/*****/wp-includes/wp-db.php on line 1171
    {“result”:”OK”,”keep_form”:1,”htmlmessage”:”La tua richiesta di prenotazione \u00e8 stata registrata a sitema.”} : SyntaxError: JSON Parse error: Unrecognized token ‘<‘

    Can anyone point me in the right direction to fix this?

    Thanks

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

    (@liedekef)

    Could you give me the parameters for your event? Or contact me in private for this?

    Plugin Author Franky

    (@liedekef)

    Good news: I found a problem introduced in 2.0.5, I’ll release 2.0.6 to fix rsvp-ing.

    Thread Starter aidagp

    (@aidagp)

    Thank you for listening,

    I had everything working than the booking form didn’t show anymore a normal page upon submit, just this yellow message.
    Of course I was adding here and there settings, templates first of all some text in Italian containing local characters. I do have UTF-8 in my WordPress and in Safari. When the problem appeared I removed the local character, then all the message but this one appears from the translation files (and it’s also misspelled: La tua richiesta di prenotazione \u00e8 stata registrata a sitema.- they meant “dal sistema”).

    I have Ultimate Member plugin installed and inside it on a profile form I call the shortcode [eme_add_booking_form id=4]. The problem appears outside of UM plugin as well.
    At the moment I don’t have ftp access to this server (the old IT guy is reluctant to cooperate)

    I’ll be back with more details.

    Plugin Author Franky

    (@liedekef)

    Btw: you do know that EME has it’s own membership management too, no? ??
    I’ll release in 5 minutes, that should solve the problems.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘error in escape’ is closed to new replies.