I get error 405 when I try to update record

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zoranz
    Junior Member
    • Apr 2017
    • 21

    I get error 405 when I try to update record

    In the espo log file :
    Espo.WARNING: E_WARNING: array_key_exists() expects parameter 2 to be array, null given {"code":2,"message":"array_key_exists() expects parameter 2 to be array, null given","file":"/... /public_html/olplus/application/Espo/Core/Utils/Database/Schema/Converter.php","line":438} []

    I don't know how to solve this.
    Any sugestions?
    Thank you in advance.

    Regards,
    Zoran
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    For any record in system or just specified entity type?
    Check apache error log as well. Check if Patch method is allowed by your server

    Comment

    • zoranz
      Junior Member
      • Apr 2017
      • 21

      #3
      For any record, for all records!
      Apache error log says:

      [Tue Mar 06 16:27:18.982743 2018] [allowmethods:error] [pid 238562:tid 140331169195776] [client 84.31.245.69:53723] AH01623: client method denied by server configuration: 'PATCH' to /........................................./public_html/olplus/api/v1/Note, referer: http://olplus.werkt.online/
      [Tue Mar 06 16:27:42.494027 2018] [allowmethods:error] [pid 238562:tid 140331076876032] [client 84.31.245.69:53727] AH01623: client method denied by server configuration: 'PATCH' to /.........................................../public_html/olplus/api/v1/Note, referer: http://olplus.werkt.online/

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Allow this method, restart the server

        Comment

        • zoranz
          Junior Member
          • Apr 2017
          • 21

          #5
          Hi Tanya,
          Thank you for your answer.

          My EspoCRM is on the shared environment so I don have SSH access, I can't restart the server. Is there another solution to this problem?

          Thank's again,
          Zoran

          Comment

          • tanya
            Senior Member
            • Jun 2014
            • 4308

            #6
            You can contact your hosting provider or change it. Also you can choose our cloud https://www.espocrm.com/cloud/

            Comment

            • zoranz
              Junior Member
              • Apr 2017
              • 21

              #7
              Hi Tanya,
              thank you, I will upgrade my hosting plan to get more access on the server.
              Regards,
              Zoran

              Comment

              Working...