[wp-trac] [WordPress Trac] #51842: Disabling pingbacks nulls the DB entry

WordPress Trac noreply at wordpress.org
Sat Nov 21 20:58:36 UTC 2020


#51842: Disabling pingbacks nulls the DB entry
--------------------------+-----------------------------
 Reporter:  cool_recep    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.5.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Disabling pingback option from Settings nulss ''default_ping_status'' thus
 crashing New Post function.

 Have to change it to closed via phpMyAdmin to fix the issue.

 Error:

 {{{#!php
 <?php
 WordPress veritabanı hatası: [Column 'ping_status' cannot be null]

 INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`,
 `post_content`, `post_content_filtered`, `post_title`, `post_excerpt`,
 `post_status`, `post_type`, `comment_status`, `ping_status`,
 `post_password`, `post_name`, `to_ping`, `pinged`, `post_modified`,
 `post_modified_gmt`, `post_parent`, `menu_order`, `post_mime_type`,
 `guid`) VALUES (2, '2020-11-21 23:28:50', '0000-00-00 00:00:00', '', '',
 'Otomatik taslak', '', 'auto-draft', 'post', 'open', NULL, '', '', '', '',
 '2020-11-21 23:28:50', '0000-00-00 00:00:00', 0, 0, '', '')





 Notice: Trying to get property 'post_type' of non-object in /public_html
 /wp-admin/includes/post.php on line 691



 Warning: Creating default object from empty value in /public_html/wp-
 admin/includes/post.php on line 729



 Notice: Undefined property: stdClass::$ID in /public_html/wp-admin/post-
 new.php on line 67



 Notice: Undefined property: stdClass::$post_date in /public_html/wp-admin
 /edit-form-advanced.php on line 173



 Notice: Undefined property: stdClass::$post_date in /public_html/wp-admin
 /edit-form-advanced.php on line 175



 Notice: Undefined property: stdClass::$post_status in /public_html/wp-
 admin/edit-form-advanced.php on line 231



 Notice: Undefined property: stdClass::$post_type in /public_html/wp-
 admin/includes/meta-boxes.php on line 1426



 Notice: Undefined property: stdClass::$post_type in /public_html/wp-
 includes/taxonomy.php on line 226



 Notice: Undefined property: stdClass::$post_type in /public_html/wp-
 includes/taxonomy.php on line 229



 Warning: Cannot modify header information - headers already sent by
 (output started at /public_html/wp-includes/functions.php:5229) in
 /public_html/wp-admin/admin-header.php on line 9



 Notice: Trying to get property 'label' of non-object in /public_html/wp-
 content/plugins/wordpress-seo-premium/inc/class-wpseo-utils.php on line
 1056



 Notice: Trying to get property 'labels' of non-object in /public_html/wp-
 content/plugins/wordpress-seo-premium/inc/class-wpseo-utils.php on line
 1057



 Notice: Trying to get property 'singular_name' of non-object in
 /public_html/wp-content/plugins/wordpress-seo-premium/inc/class-wpseo-
 utils.php on line 1057



 Warning: Invalid argument supplied for foreach() in /public_html/wp-
 content/plugins/wordpress-seo-premium/admin/metabox/class-metabox.php on
 line 1042



 Notice: Undefined property: stdClass::$post_type in /public_html/wp-
 includes/taxonomy.php on line 226



 Notice: Undefined property: stdClass::$post_type in /public_html/wp-
 includes/taxonomy.php on line 229



 Notice: Undefined property: stdClass::$post_type in /public_html/wp-
 content/plugins/wordpress-seo-premium/admin/metabox/class-metabox.php on
 line 306



 Notice: Undefined property: stdClass::$post_type in /public_html/wp-
 content/plugins/wordpress-seo-premium/admin/metabox/class-metabox.php on
 line 277



 Notice: Undefined property: stdClass::$post_type in /public_html/wp-
 content/plugins/wordpress-seo-premium/admin/metabox/class-metabox.php on
 line 281



 Notice: Undefined property: stdClass::$post_type in /public_html/wp-
 content/plugins/wordpress-seo-premium/premium/classes/custom-fields-
 plugin.php on line 69
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51842>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list