Answers.Body: <p>If you install it from github you need to run the following command in the directory of the plugin <code>composer install</code></p>
  <p>This is explained in the <a href="https://github.com/CiviMRF/civimcrestface-wordpress#how-to-install" rel="nofollow noreferrer">readme on Github</a>.</p>
  <p>The easiest way to install this plugin is on the Manage plugin page in your wordpress installation and then press add plugin and search for this plugin in the plugin directory.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-26T15:26:51.323Z
Answers.LastActivityDate: 2021-05-26T15:26:51.323Z
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Answers.Body: <p>We've just used and installed this plugin on 5.37.2 as a regular WP extension and it worked fine. No need for a Github version.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-28T12:23:07.383Z
Answers.Text: Can you share me the link where you find the WP extension?
Answers.UserDisplayName: Civytech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-28T13:27:05.790Z
Answers.Text: I answered too quickly, you have to install from Git with your console:
  
  cd wp-content/plugins
  
  git clone https://github.com/CiviMRF/civimcrestface-wordpress.git wpcmrf
  
  cd wpcmrf
  
  composer install
  
  + activate plugin in WP backend
Answers.UserDisplayName: Guillaume Sorel
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-06-04T08:41:42.017Z
Answers.Text: HI,Hello,
  I solved my issue.
  To correctly configure the plugin to the remote CiviCRM,  we need to use the new version of the WP URLs, that is: "<DOMAIN>/wp-json /civicrm/v3/rest"
  If ew try to use old version of API call (... / plugins / civicrm / civicrm / ext / rest.php) the plugin does not work.
Answers.UserDisplayName: Civytech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-26T16:22:14.983Z
Answers.LastActivityDate: 2021-05-26T16:22:14.983Z
Answers.UserDisplayName: Guillaume Sorel
Answers.Body: <p>I was able to install the plugin on my WP site.
  The problem is that the zip downloaded from GitHub does not contain the &quot;vendor&quot; directory ... I don't know why.</p>
  <p>I then found the complete plugin at this address: <a href="https://it.wordpress.org/plugins/connector-civicrm-mcrestface/" rel="nofollow noreferrer">https://it.wordpress.org/plugins/connector-civicrm-mcrestface/</a>
  I installed it and set up the remote connection.</p>
  <p>In the caldera I created a form and added the processor created in the remote CiviCRM.</p>
  <p>However, I encountered <strong>first problem</strong>:
  CviCRm responds with &quot;Unable to decode supplied JSON&quot;.</p>
  <p>Looking at the code I saw that the json parameter is passed as an attribute container (&quot;$ post_data. =&quot; &amp; Json = &quot;. Urlencode (json_encode ($ request));&quot;)
  But the doc civi specifies that &quot;json&quot; should be used to tell the system the type of response: xml or json.
  In fact, going to modify the portion of code in this way: &quot;&amp; json = 1&quot;,
  CiviCRM is able to manage the call.</p>
  <p>But here's a <strong>second problem</strong>.
  It seems that the Caldera form parameters are not passed to Civi and the form processor responds with the message: &quot;error_message&quot;: &quot;Mandatory key (s) missing from params array ......&quot;
  FAIL
  {
  &quot;entity&quot;: &quot;FormProcessor&quot;,
  &quot;action&quot;: &quot;nwl_form_ita&quot;,
  &quot;options&quot;: []
  }</p>
  <p>Thanks a lot for the support</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-27T10:01:31.777Z
Answers.LastActivityDate: 2021-05-27T10:01:31.777Z
Answers.UserDisplayName: Civytech
Body: <p>I've an issue with the plugin CiviMcRestFace.
  I can't install it in my WP site v. 5.7.2 running on Linux server with php 7.4.6</p>
  <p>I download plugin from github (<a href="https://github.com/CiviMRF/civimcrestface-wordpress" rel="nofollow noreferrer">https://github.com/CiviMRF/civimcrestface-wordpress</a>) and then I upload it with WP plugin page.
  When I try to activate plugin nothing happens, but I can see this error log:</p>
  <p>PHP Fatal error:  require_once(): Failed opening required '/Volumes/web/default/crm.depadova.com/wp-content/plugins/civimcrestface-wordpress-master//vendor/autoload.php' (include_path='/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/ext/form-processor-master/:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/ext/action-provider-master/:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/ext/recaptcha/:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/ext/financialacls/:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/ext/eventcart/:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/ext/greenwich/:.:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/packages:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/vendor/tecnickcom:/Volumes/web/default/crm.depadova.com/wp-content/plu in /Volumes/web/default/crm.depadova.com/wp-content/plugins/civimcrestface-wordpress-master/wpcmrf.php on line 32, referer: <a href="http://asterix.y-tech.it/crm.depadova.com/wp-admin/plugins.php?plugin=civimcrestface-wordpress-master%2Fwpcmrf.php" rel="nofollow noreferrer">http://asterix.y-tech.it/crm.depadova.com/wp-admin/plugins.php?plugin=civimcrestface-wordpress-master%2Fwpcmrf.php</a></p>
  <p>Any ideas?
  many thanks</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-05-26T12:52:48.233Z
Comments.Text: If you installed from github, have you run the 'composer install' step?
Comments.UserDisplayName: Aidan
Tags: <rest><caldera-forms>
Title: CiviMcRestFace installation problem
ThreadText: # CiviMcRestFace installation problem
  
  (Asked by: username_0 on 2021-05-26)
  
  I've an issue with the plugin CiviMcRestFace.
  I can't install it in my WP site v. 5.7.2 running on Linux server with php 7.4.6
  
  I download plugin from github (<https://github.com/CiviMRF/civimcrestface-wordpress>) and then I upload it with WP plugin page.
  When I try to activate plugin nothing happens, but I can see this error log:
  
  PHP Fatal error: require\_once(): Failed opening required '/Volumes/web/default/crm.depadova.com/wp-content/plugins/civimcrestface-wordpress-master//vendor/autoload.php' (include\_path='/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/ext/form-processor-master/:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/ext/action-provider-master/:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/ext/recaptcha/:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/ext/financialacls/:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/ext/eventcart/:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/ext/greenwich/:.:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/packages:/Volumes/web/default/crm.depadova.com/wp-content/plugins/civicrm/civicrm/vendor/tecnickcom:/Volumes/web/default/crm.depadova.com/wp-content/plu in /Volumes/web/default/crm.depadova.com/wp-content/plugins/civimcrestface-wordpress-master/wpcmrf.php on line 32, referer: <http://asterix.y-tech.it/crm.depadova.com/wp-admin/plugins.php?plugin=civimcrestface-wordpress-master%2Fwpcmrf.php>
  
  Any ideas?
  many thanks
  
  **Tags:** rest, caldera-forms
  
  > **Comments:**
  > **username_1**: If you installed from github, have you run the 'composer install' step?  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2021-05-26. Score: 1
  
  If you install it from github you need to run the following command in the directory of the plugin `composer install`
  
  This is explained in the [readme on Github](https://github.com/CiviMRF/civimcrestface-wordpress#how-to-install).
  
  The easiest way to install this plugin is on the Manage plugin page in your wordpress installation and then press add plugin and search for this plugin in the plugin directory.
  
  
  ---
  
  ### Answer by username_3 on 2021-05-26. Score: 0
  
  We've just used and installed this plugin on 5.37.2 as a regular WP extension and it worked fine. No need for a Github version.
  
  > **Comments:**
  > **username_0**: Can you share me the link where you find the WP extension?  
  > **username_3**: I answered too quickly, you have to install from Git with your console:  cd wp-content/plugins  git clone https://github.com/CiviMRF/civimcrestface-wordpress.git wpcmrf  cd wpcmrf  composer install  + activate plugin in WP backend  
  > **username_0**: HI,Hello, I solved my issue. To correctly configure the plugin to the remote CiviCRM,  we need to use the new version of the WP URLs, that is: "<DOMAIN>/wp-json /civicrm/v3/rest" If ew try to use old version of API call (... / plugins / civicrm / civicrm / ext / rest.php) the plugin does not work.  
  
  ---
  
  ### Answer by username_0 on 2021-05-27. Score: 0
  
  I was able to install the plugin on my WP site.
  The problem is that the zip downloaded from GitHub does not contain the "vendor" directory ... I don't know why.
  
  I then found the complete plugin at this address: <https://it.wordpress.org/plugins/connector-civicrm-mcrestface/>
  I installed it and set up the remote connection.
  
  In the caldera I created a form and added the processor created in the remote CiviCRM.
  
  However, I encountered **first problem**:
  CviCRm responds with "Unable to decode supplied JSON".
  
  Looking at the code I saw that the json parameter is passed as an attribute container ("$ post\_data. =" & Json = ". Urlencode (json\_encode ($ request));")
  But the doc civi specifies that "json" should be used to tell the system the type of response: xml or json.
  In fact, going to modify the portion of code in this way: "& json = 1",
  CiviCRM is able to manage the call.
  
  But here's a **second problem**.
  It seems that the Caldera form parameters are not passed to Civi and the form processor responds with the message: "error\_message": "Mandatory key (s) missing from params array ......"
  FAIL
  {
  "entity": "FormProcessor",
  "action": "nwl\_form\_ita",
  "options": []
  }
  
  Thanks a lot for the support
  
  
  ---
  
  