1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tickets Fixed The server responded with an error. The error message is in the JavaScript console.

Discussion in 'Resolved Bug Reports' started by ALfa1, Jul 8, 2017.

  1. ALfa1

    ALfa1 Well-Known Member

    When submitting a Ticket, my members get this error:
    The server responded with an error. The error message is in the JavaScript console.

    The console has this:

    unreachable code after return statement[More info] new:2573:32
    unreachable code after return statement[More info] new:2565:20
    XenForo.activate(%o) [object HTMLDocument]xenforo.js:223
    Title Element: Object { 0: <h1>, length: 1, prevObject: Object, context: HTMLDocument → new } xenforo.js:356:123
    Attachments changed, total files: 0, images: 0 attachment_editor_new.js:12:291
    XenForo.init() 131ms. jQuery 1.11.0/1.2.8-dev xenforo.js:209:316
    set prefix 2 title_prefix.js:8:263
    unreachable code after return statement[More info] new:2565:20
    PHP <br />
    <b>Warning</b>: htmlspecialchars() expects parameter 1 to be string, array given in <b /library/XenForo/Mail.php(367) : eval()'d code</b> on line <b>29</b><br />
    {"_redirectStatus":"ok","_redirectTarget":"https:\/\/forum.com\/tickets\/testing-again.32\/","_redirectMessage":"Your ticket has been submitted.","_visitor_conversationsUnread":"6","_visitor_alertsUnread":"0"} xenforo.js:233:347
    XenForo.activate(%o) [object Object]xenforo.js:223
     
  2. NixFifty

    NixFifty Administrator Staff Member

    Fixed, thanks.
     
    ALfa1 likes this.
  3. ALfa1

    ALfa1 Well-Known Member

    Could you provide the hotfix for this one so that I can stop the duplicate tickets?
     
  4. ALfa1

    ALfa1 Well-Known Member

    It works fine in the latest build.