Body: <p>using WP 5.4.2 - PHP 7.2 - CiviCRM 5.28</p>
  <p>1/ I previously hab issue with CiviCRM Events's permalink: so  activate &quot;Classic Editor&quot; WordPress plugin to allows a link in a post to publish the Events's form</p>
  <p>2/ I migrated the website to a new host + activate SSL + Upgrade CiviCRM to the last Release</p>
  <p>First issue: the c<strong>onfirmation step of the booking event was no more display</strong>  and there was no registration= looking for the rrot cause I find that CMS integration was not correct so I added <strong>civicrm/</strong> at the end of <a href="https://cycloclubbreuillet.fr/" rel="nofollow noreferrer">https://cycloclubbreuillet.fr/</a></p>
  <p>So I get the Second issue : <strong>DB Error : constraint violation</strong>
  I read some post hier and chech the wp-content/uploads/civicrm/civicrm.settings.php and the login information</p>
  <p>So I created a new event and now the issue is:  <strong>id (value: ) is not of the type Positive</strong>
  See below the debug information:</p>
  <p><a href="https://i.sstatic.net/yrS7L.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/yrS7L.png" alt="enter image description here" /></a></p>
  <p>in line 90 of he file Request.php i FOUND THIS/
  $value = CRM_Utils_Type::validate($value, $type, $abort, $name);</p>
  <p>hope some can help, I could(not find the root cause</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-23T18:26:17.543Z
Comments.Text: can you check the CMS integration in Civi if its set or not?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-24T06:00:44.513Z
Comments.Text: Yes it is set with civicrm/          But I am not sure if "/" at ther end is usefull
Comments.UserDisplayName: rv91530
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-24T09:46:20.053Z
Comments.Text: nope, and do you have /civicrm page setup?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-24T12:09:29.880Z
Comments.Text: Tkank you = I just remove the "/" and the previous errors disappear ----- but I have a new one = DB Error: already exists (I guess I made a lot of testing and it did not remove everything in the DB) ----- the file exist at : /domains/cycloclubbreuillet.fr/public_html/wp-content/plugins/civicrm/civicrm/setup/civicrm-setup-autoload.php      and it says it was provided by previous build .... nothing else
Comments.UserDisplayName: rv91530
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-24T13:19:47.350Z
Comments.Text: Can you check civicrm logs /uploads/civicrm/ConfigAndLog
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-24T16:14:00.447Z
Comments.Text: threr is 35 line like this: #0 wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(205): CRM_Core_Error::backtrace("backTrace", TRUE)
  #1 wp-content/plugins/civicrm/civicrm/vendor/pear/pear-core-minimal/src/PEAR.php(922): CRM_Core_Error::handle(Object(DB_Error))
  #2 wp-content/plugins/civicrm/civicrm/packages/DB.php(998): PEAR_Error->__construct("DB Error: already exists", -5, 16, (Array:2), "UPDATE  `civicrm_contact`  SET `contact_type` = 'Individual' , `external_iden...")
Comments.UserDisplayName: rv91530
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-24T16:28:16.777Z
Comments.Text: Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/112212/discussion-between-pradeep-nayak-and-rv91530).
Comments.UserDisplayName: Pradeep Nayak
Tags: <civievent>
Title: id (value: ) is not of the type Positive (WordPress)
ThreadText: # id (value: ) is not of the type Positive (WordPress)
  
  (Asked by: username_0 on 2020-08-23)
  
  using WP 5.4.2 - PHP 7.2 - CiviCRM 5.28
  
  1/ I previously hab issue with CiviCRM Events's permalink: so activate "Classic Editor" WordPress plugin to allows a link in a post to publish the Events's form
  
  2/ I migrated the website to a new host + activate SSL + Upgrade CiviCRM to the last Release
  
  First issue: the c**onfirmation step of the booking event was no more display** and there was no registration= looking for the rrot cause I find that CMS integration was not correct so I added **civicrm/** at the end of <https://cycloclubbreuillet.fr/>
  
  So I get the Second issue : **DB Error : constraint violation**
  I read some post hier and chech the wp-content/uploads/civicrm/civicrm.settings.php and the login information
  
  So I created a new event and now the issue is: **id (value: ) is not of the type Positive**
  See below the debug information:
  
  [![enter image description here](https://i.sstatic.net/yrS7L.png)](https://i.sstatic.net/yrS7L.png)
  
  in line 90 of he file Request.php i FOUND THIS/
  $value = CRM\_Utils\_Type::validate($value, $type, $abort, $name);
  
  hope some can help, I could(not find the root cause
  
  **Tags:** civievent
  
  > **Comments:**
  > **username_1**: can you check the CMS integration in Civi if its set or not?  
  > **username_0**: Yes it is set with civicrm/          But I am not sure if "/" at ther end is usefull  
  > **username_1**: nope, and do you have /civicrm page setup?  
  > **username_0**: Tkank you = I just remove the "/" and the previous errors disappear ----- but I have a new one = DB Error: already exists (I guess I made a lot of testing and it did not remove everything in the DB) ----- the file exist at : /domains/cycloclubbreuillet.fr/public_html/wp-content/plugins/civicrm/civicrm/setup/civicrm-setup-autoload.php      and it says it was provided by previous build .... nothing else  
  > **username_1**: Can you check civicrm logs /uploads/civicrm/ConfigAndLog  
  > **username_0**: threr is 35 line like this: #0 wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(205): CRM_Core_Error::backtrace("backTrace", TRUE) #1 wp-content/plugins/civicrm/civicrm/vendor/pear/pear-core-minimal/src/PEAR.php(922): CRM_Core_Error::handle(Object(DB_Error)) #2 wp-content/plugins/civicrm/civicrm/packages/DB.php(998): PEAR_Error->__construct("DB Error: already exists", -5, 16, (Array:2), "UPDATE  `civicrm_contact`  SET `contact_type` = 'Individual' , `external_iden...")  
  > **username_1**: Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/112212/discussion-between-username_1-and-username_0).  
  
  ---
  
  ## 0 answers
  
  