title: Fatal error: Can not redeclare WP_Post_Type show_in_rest
body: <p>I have a problem with a client's Wordpress, I can't fix it. </p>
  
  <blockquote>
    <p>Fatal error: Can not redeclare WP_Post_Type :: $ show_in_rest in
    /home/thesearchhouseco/public_html/buzios/wp-includes/class-wp-post-type.php
    on line 348 </p>
  </blockquote>
  
  <p>I have already erased the lines as mentioned, however, it
   still presents an error on another page.</p>
  
  <p>You can see the error at: <a href="https://thesearchhouse.com.br/buzios/" rel="nofollow noreferrer">https://thesearchhouse.com.br/buzios/</a></p>
  
  <p>File: <strong>class-wp-post-type.php</strong></p>
  
  <blockquote>
    <p>public $show_in_rest;</p>
    
    <p>/**      * The base path for this post type's REST API endpoints.    *<br>
    * @since 4.7.4     * @access public    * @var string|bool $rest_base   */</p>
  </blockquote>