Answers.Body: <p>A temporary band-aid:in the &quot;civicrm_pcp_block&quot; table, find the block corresponded with the event and manually change the &quot;target_entity_id&quot; from &quot;contribute&quot; to &quot;event&quot; (the &quot;contribute&quot; appears to be the default choice for every &quot;event&quot; record in the table).</p>
  <p>This makes the &quot;Online Contribution Page&quot; label disappear and fixes the rest of it.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-20T21:55:33.753Z
Answers.Text: If you're getting the same thing on wpdemo, please create an issue at https://lab.civicrm.org/dev/core/-/issues describing your problem and your solution.  And if you can, a PR would be great
Answers.UserDisplayName: Aidan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-19T16:09:37.780Z
Answers.LastActivityDate: 2024-02-19T16:09:37.780Z
Answers.UserDisplayName: yurg
Body: <p>An oddity discovered in WP/CiviCRM 5.70.0: an <strong>Event</strong> &quot;Personal Campaign&quot; tab  displays non-editable fields
  <a href="https://i.sstatic.net/jR8w5.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/jR8w5.png" alt="enter image description here" /></a></p>
  <ul>
  <li>Campaign Type &quot;Contribution&quot; (mustn't be &quot;Event&quot; ? )</li>
  <li>Online Contribution Page : empty (supposed to allow an Event selection I believe )</li>
  </ul>
  <hr />
  <p>Partially confirmed on the <a href="https://wpmaster.demo.civicrm.org/" rel="nofollow noreferrer">https://wpmaster.demo.civicrm.org/</a> - the tab comes empty &amp; with the infamous &quot;Network Error Unable to reach the server &quot; message.
  <a href="https://i.sstatic.net/iHbRT.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/iHbRT.png" alt="wpmaster.demo.civicrm.org" /></a></p>
  <p>A temporary band-aid:in the &quot;civicrm_pcp_block&quot; table, find the block corresponded with the event and manually change the &quot;target_entity_id&quot; from &quot;contribute&quot; to &quot;event&quot; (the &quot;contribute&quot; appears to be the default choice for every &quot;event&quot; record in the table).</p>
  <p>This makes the  &quot;Online Contribution Page&quot; label disappear and fixes the rest of it.</p>
  <p>Possible related deprecation message:</p>
  <pre><code>[warning] attempt to access invalid property :_eventId Caller: CRM_Core_Form::getVar
  Array
  (
  [civi.tag] =&gt; deprecated
  )
  </code></pre>
  
Tags: <civievent><pcp>
Title: Event PCP IDs mismatch in the civicrm_pcp_block table
ThreadText: # Event PCP IDs mismatch in the civicrm_pcp_block table
  
  (Asked by: username_0 on 2024-02-19)
  
  An oddity discovered in WP/CiviCRM 5.70.0: an **Event** "Personal Campaign" tab displays non-editable fields
  [![enter image description here](https://i.sstatic.net/jR8w5.png)](https://i.sstatic.net/jR8w5.png)
  
  * Campaign Type "Contribution" (mustn't be "Event" ? )
  * Online Contribution Page : empty (supposed to allow an Event selection I believe )
  
  ---
  
  Partially confirmed on the <https://wpmaster.demo.civicrm.org/> - the tab comes empty & with the infamous "Network Error Unable to reach the server " message.
  [![wpmaster.demo.civicrm.org](https://i.sstatic.net/iHbRT.png)](https://i.sstatic.net/iHbRT.png)
  
  A temporary band-aid:in the "civicrm\_pcp\_block" table, find the block corresponded with the event and manually change the "target\_entity\_id" from "contribute" to "event" (the "contribute" appears to be the default choice for every "event" record in the table).
  
  This makes the "Online Contribution Page" label disappear and fixes the rest of it.
  
  Possible related deprecation message:
  
  ```
  [warning] attempt to access invalid property :_eventId Caller: CRM_Core_Form::getVar
  Array
  (
  [civi.tag] => deprecated
  )
  
  ```
  
  **Tags:** civievent, pcp
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2024-02-19. Score: 0 | Accepted answer
  
  A temporary band-aid:in the "civicrm\_pcp\_block" table, find the block corresponded with the event and manually change the "target\_entity\_id" from "contribute" to "event" (the "contribute" appears to be the default choice for every "event" record in the table).
  
  This makes the "Online Contribution Page" label disappear and fixes the rest of it.
  
  > **Comments:**
  > **username_1**: If you're getting the same thing on wpdemo, please create an issue at https://lab.civicrm.org/dev/core/-/issues describing your problem and your solution.  And if you can, a PR would be great  
  
  ---
  
  