• Resolved Aerendir

    (@aerendir)


    This is the full error:

    [20-Aug-2019 10:55:09 UTC] PHP Notice: Undefined index: contact in /var/www/serendipityhq.com/public_html/wp-content/plugins/nettantra-caldera-forms-mautic-integration/core.php on line 86

    To get it I had to activate the debug mode and the logs.

    Now I’m going to further debug it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Aerendir

    (@aerendir)

    This is the response returned by the Mautic API library:

    
    array(2) {
      ["errors"]=>
      array(1) {
        [0]=>
        array(2) {
          ["code"]=>
          int(404)
          ["message"]=>
          string(460) "The response has unexpected status code (404).
    
    Response: {"errors":[{"message":"Looks like I encountered an error (error #404). If I do it again, please report me to the system administrator!","code":404,"type":null}],"error":{"message":"Looks like I encountered an error (error #404). If I do it again, please report me to the system administrator! (<code>error</code> is deprecated as of 2.6.0 and will be removed in 3.0. Use the <code>errors</code> array instead.)","code":404}}"
        }
      }
      ["error"]=>
      array(2) {
        ["code"]=>
        int(404)
        ["message"]=>
        string(460) "The response has unexpected status code (404).
    
    Response: {"errors":[{"message":"Looks like I encountered an error (error #404). If I do it again, please report me to the system administrator!","code":404,"type":null}],"error":{"message":"Looks like I encountered an error (error #404). If I do it again, please report me to the system administrator! (<code>error</code> is deprecated as of 2.6.0 and will be removed in 3.0. Use the <code>errors</code> array instead.)","code":404}}"
      }
    }
    
    Plugin Author Dev

    (@devadattas)

    Thread Starter Aerendir

    (@aerendir)

    In the end it turned out the problem was really simpler: I had to simply delete all the cache and let Mautic recreate it (https://github.com/mautic/mautic/issues/6102#issuecomment-415489226).

    Thank you for your really fast response, anyway! ??

    Great plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined index: contact in …/integration/core.php’ is closed to new replies.