Support » Plugin: WP Statistics » Breaks new post admin page if pingbacks/trackback are disabled

  • STR:

    1. Have WP Statistics 13.0.8 installed.
    2. In the discussion settings disable pingbacks/trackbacks.
    3. Enable WP_DEBUG_LOG.
    4. Try creating a new post.

    What happens:
    The new post editor does not load. Instead a blank page shows up. In the log file an error appears saying Column 'ping_status' cannot be null.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mostafa Soufi



    I did the same reproduce, never seen the error, can you please provide me a bit more of that error you received? I mean which file and the line as well.

    Thread Starter Michal Stanke


    Thank you for looking into this. The full error in wp-content/debug.log is

    [23-Jul-2021 12:35:20 UTC] Chyba wordpress databázy Column 'ping_status' cannot be null pre požiadavku INSERT INTO <code>mozsk_posts</code> (<code>post_author</code>, <code>post_date</code>, <code>post_date_gmt</code>, <code>post_content</code>, <code>post_content_filtered</code>, <code>post_title</code>, <code>post_excerpt</code>, <code>post_status</code>, <code>post_type</code>, <code>comment_status</code>, <code>ping_status</code>, <code>post_password</code>, <code>post_name</code>, <code>to_ping</code>, <code>pinged</code>, <code>post_modified</code>, <code>post_modified_gmt</code>, <code>post_parent</code>, <code>menu_order</code>, <code>post_mime_type</code>, <code>guid</code>) VALUES (16, '2021-07-23 14:35:20', '0000-00-00 00:00:00', '', '', 'Automatický koncept', '', 'auto-draft', 'post', 'open', NULL, '', '', '', '', '2021-07-23 14:35:20', '0000-00-00 00:00:00', 0, 0, '', '') vykonanú get_default_post_to_edit, wp_insert_post

    I cannot tell which file it came from, the database error does not say.

    A very similar error has been also reported here It does not happen on two other pages, where the pingbacks/trackbacks are disabled (but do not have WP Statistics installed). On the affected installation I also tried to replace all WordPress files from a fresh download, just to make sure it’s not corrupted, but it did not help.

    Thread Starter Michal Stanke


    One more additional information, on June 6 it was not broken, because a user was able to create and publish a new post. Since then, only WordPress updates have been applied.

    • This reply was modified 1 year, 2 months ago by Michal Stanke. Reason: additional info
    Plugin Author Mostafa Soufi


    I’m not entirely sure what’s the problem here because there is no communication with the wp_posts table and also pingbacks/trackback with the plugin.

    Can you please this option on the setting page and try again? Hits Metabox Chart

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Breaks new post admin page if pingbacks/trackback are disabled’ is closed to new replies.