We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19889
    • 616 Posts
    Hello,

    when I’m trying to publish a jot entry, I’m getting the following error:

    mysql_real_escape_string() expects parameter 1 to be string, array given.

    any ideas how to fix this?

    thank you in advance for your help
      • 4195
      • 398 Posts
      can you give some more detail about the jot call and version you are using?
        Armand Pondman
        MODx Coding Team
        :: Jot :: PHx
        • 19889
        • 616 Posts
        Quote from: bS at Feb 12, 2007, 04:05 AM

        can you give some more detail about the jot call and version you are using?

        Sorry about that - this is the call:
        [!Jot? &placeholders=`0` &output=`1` &tplForm=`JotGuestbookForm` &tplComments=`JotGuestbookEntry` &tplNav=`JotGuestbookNavigation` &subscribe=`0` &pagination=`1` &docid=`29` &canmoderate=`Registered Users` &moderated=`1` &captcha=`1`!]
        
        [+jot.html.navigation+]
        [+jot.html.comments+]
        [+jot.html.moderate+]


        I’m using Jot - 1.1.0

        Thanks again
          • 25876
          • 79 Posts
          I also do get this:

          « MODx Parse Error »
          MODx encountered the following error while attempting to parse the requested resource:
          « Execution of a query to the database failed


          with

          [[Jot? &subscribe=`1` &pagination=`10` &moderated=`1` &trusted=`Trusted Users`]]


          and the newest Version when i want to make an entry ...

          //edit: forget about it, i just had to upgrade jot to the 1.1.2 version and now its working;