• Resolved anoop1mg

    (@anoop1mg)


    Hi, I am unable to save story and below message is displayed.

    “Failed to save the story; Content, title and excerpt are empty (Bad Request)”
    Even after entering the required details the error is still showing. Also there is no option for entering excerpt in web story plugin.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter anoop1mg

    (@anoop1mg)

    This is the API response :
    {
    “code”: “empty_content”,
    “message”: “Content, title, and excerpt are empty.”,
    “data”: {
    “status”: 400
    }
    }


    Plugin Author Pascal Birchler

    (@swissspidy)

    Hi there and thanks for reaching out!

    The Web Stories plugin filters the WordPress logic related to empty_content, so it sounds like some other plugin is potentially interfering. Does this still happen if you temporarily deactivate other plugins?

    If you check out the REST API request that’s being made, do you see post_content and post_content_filtered fields being sent?

    Also there is no option for entering excerpt in web story plugin.

    What do you mean by that, can you share a screenshot? There is a big “Story Description” field in the document panel. See:

    If none of the above helps, you can manually hook into the wp_insert_post_empty_content filter and do some debugging there to see what’s interfering. As a last resort you could do add_filter( 'wp_insert_post_empty_content', '__return_false', PHP_INT_MAX ) to disable the empty check in WordPress.

    Thread Starter anoop1mg

    (@anoop1mg)

    Hi Pascal Birchler thanks for reply. After adding story description I am able to save the story but when some template is added then then it is not getting saved and not getting any error.

    Plugin Author Pascal Birchler

    (@swissspidy)

    It still sounds like some other plugin is potentially interfering. Does this still happen if you temporarily deactivate other plugins?

    If you check out the REST API?request?that’s being made, do you see?post_content?and?post_content_filtered?fields being sent?

    Please share your Site Health info with us, maybe we can spot something unusual there. Tools -> Site Health -> Info -> copy to clipboard

    Thread Starter anoop1mg

    (@anoop1mg)

    Hi Pascal Birchler, these two fields and not being sent in the post request.
    And I am not able to see Side Health, when I click on tool it is showing blank.

    Plugin Author Pascal Birchler

    (@swissspidy)

    Ah, apologies, I misremembered. The content and excerpt fields should be sent.

    Again, please try deactivating all other plugins and switch to a default theme to see if the error still occurs. You can use this plugin to only do this for yourself without affecting your visitors.

    As for Site Health, there should be a menu entry for this in your wp-admin:

    Thread Starter anoop1mg

    (@anoop1mg)

    ` wp-core
    
    version: 6.2.3
    site_language: en_US
    user_language: en_US
    timezone: +05:30
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: closed
    environment_type: production
    user_count: 60
    dotorg_communication: true wp-paths-sizes wordpress_path: /var/www/html/articles
    wordpress_size: 50.98 MB (53456361 bytes)
    uploads_path: /var/www/html/articles/wp-content/uploads
    uploads_size: 583.19 MB (611521484 bytes)
    themes_path: /var/www/html/articles/wp-content/themes
    themes_size: 49.28 MB (51672025 bytes)
    plugins_path: /var/www/html/articles/wp-content/plugins
    plugins_size: 89.09 MB (93417606 bytes)
    database_size: 1.33 GB (1423078080 bytes)
    total_size: 2.08 GB (2233145556 bytes) wp-active-theme name: Travelify (travelify)
    version: 3.0.8
    author: Colorlib
    author_website: https://colorlib.com/wp/
    parent_theme: none
    theme_features: core-block-patterns, widgets-block-editor, custom-header, automatic-feed-links, post-thumbnails, menus, woocommerce, custom-background, title-tag, editor-style, widgets
    theme_path: /var/www/html/articles/wp-content/themes/travelify
    auto_update: Disabled wp-themes-inactive (20) Agency Starter: version: 1.1.0, author: wpbusinessthemes (latest version: 1.1.12), Auto-updates disabled
    Alante Minimal: version: 1.0.1, author: Think Up Themes (latest version: 1.0.4), Auto-updates disabled
    Alante: version: 1.1.14, author: ThinkUpThemes (latest version: 1.4.0), Auto-updates disabled
    Boardwalk: version: 1.0.13, author: Automattic, Auto-updates disabled
    Business Space: version: 1.0.3, author: wpbusinessthemes (latest version: 1.0.7), Auto-updates disabled
    Cubic: version: 1.0.5, author: Automattic, Auto-updates disabled
    Groceries Store: version: 1.1.0, author: WpZita (latest version: 1.1.1), Auto-updates disabled
    Shuttle News: version: 1.0.3, author: Shuttle Themes (latest version: 1.0.6), Auto-updates disabled
    Shuttle: version: 1.2.8, author: ShuttleThemes (latest version: 1.3.14), Auto-updates disabled
    Snowbird: version: 1.4.3, author: xFrontend, Auto-updates disabled
    Twenty Fifteen: version: 2.7, author: the WordPress team (latest version: 3.6), Auto-updates disabled
    Twenty Fourteen: version: 2.7, author: the WordPress team (latest version: 3.8), Auto-updates disabled
    Twenty Nineteen: version: 1.4, author: the WordPress team (latest version: 2.7), Auto-updates disabled
    Twenty Seventeen: version: 2.4, author: the WordPress team (latest version: 3.4), Auto-updates disabled
    Twenty Sixteen: version: 2.2, author: the WordPress team (latest version: 3.1), Auto-updates disabled
    Twenty Twenty: version: 1.0, author: the WordPress team (latest version: 2.4), Auto-updates disabled
    Twenty Twenty-One: version: 1.8, author: the WordPress team (latest version: 2.0), Auto-updates disabled
    Twenty Twenty-Three: version: 1.1, author: the WordPress team (latest version: 1.3), Auto-updates disabled
    Twenty Twenty-Two: version: 1.4, author: the WordPress team (latest version: 1.6), Auto-updates disabled
    Zita: version: 1.4.8, author: WpZita Team (latest version: 1.6.0), Auto-updates disabled wp-mu-plugins (1) aaa-wp-cerber.php: version: 1.0, author: Cerber Tech Inc. wp-plugins-active (22) Akismet Anti-Spam: version: 4.1.3, author: Automattic (latest version: 5.3), Auto-updates disabled
    Classic Editor: version: 1.5, author: WordPress Contributors (latest version: 1.6.3), Auto-updates disabled
    Duplicator: version: 1.3.24, author: Snap Creek (latest version: 1.5.7.1), Auto-updates disabled
    Export All URLs: version: 4.3, author: Atlas Gondal (latest version: 4.7), Auto-updates disabled
    GA Google Analytics: version: 20230306, author: Jeff Starr (latest version: 20231101), Auto-updates disabled
    Grow by Mediavine (formerly Social Pug): version: 1.6.2, author: Mediavine (latest version: 1.32.0), Auto-updates disabled
    Gumlet: version: 1.3.11, author: Gumlet, Auto-updates disabled
    LH Instant Articles: version: 1.20, author: Peter Shaw, Auto-updates disabled
    No Category Base (WPML): version: 1.3, author: Marios Alexandrou, Auto-updates disabled
    Redirection: version: 4.6.1, author: John Godley (latest version: 5.4.1), Auto-updates disabled
    Related Posts: version: 5.12.70, author: iLen, Auto-updates disabled
    SendGrid: version: 1.11.8, author: SendGrid, Auto-updates disabled
    SSL Insecure Content Fixer: version: 2.7.2, author: WebAware, Auto-updates disabled
    Unlist Posts & Pages: version: 1.0.4, author: Nikhil Chavan (latest version: 1.1.9), Auto-updates disabled
    ViewMedica Embed: version: 1.4.14, author: Swarm Interactive, Inc. (latest version: 1.4.15), Auto-updates disabled
    Web Stories: version: 1.35.0, author: Google, Auto-updates disabled
    Wordfence Login Security: version: 1.0.9, author: Wordfence (latest version: 1.1.8), Auto-updates disabled
    WP Cerber Security, Antispam & Malware Scan: version: 8.5.3, author: Cerber Tech Inc., Auto-updates disabled
    Wpdevart Social comments: version: 1.9.4, author: wpdevart (latest version: 2.5.6), Auto-updates disabled
    WP Downgrade | Specific Core Version: version: 1.2.5, author: Reisetiger (latest version: 1.2.6), Auto-updates disabled
    WP Missed Schedule: version: 2014.1231.2017.3, author: sLaNGjIs Team, Auto-updates disabled
    Yoast SEO Premium: version: 7.8, author: Team Yoast, Auto-updates disabled wp-plugins-inactive (19) AccessPress Facebook Auto Post: version: 1.2.9, author: AccessPress Themes, Auto-updates disabled
    All In One SEO Pack: version: 2.3.9.1, author: Michael Torbert (latest version: 4.5.3.1), Auto-updates disabled
    Bogo: version: 3.1.2, author: Takayuki Miyoshi (latest version: 3.7), Auto-updates disabled
    BuddyPress: version: 3.1.0, author: The BuddyPress Community (latest version: 12.0.0), Auto-updates disabled
    CP Related Posts: version: 1.0.16, author: CodePeople (latest version: 1.0.46), Auto-updates disabled
    Facebook Auto Publish: version: 1.3.1, author: xyzscripts.com (latest version: 2.4.1), Auto-updates disabled
    Google Apps Login: version: 3.2, author: Lever Technology LLC (latest version: 3.4.5), Auto-updates disabled
    Google Language Translator: version: 5.0.20, author: Rob Myrick (latest version: 6.0.20), Auto-updates disabled
    Hello Dolly: version: 1.6, author: Matt Mullenweg (latest version: 1.7.2), Auto-updates disabled
    Instant Articles for WP: version: 3.3.3, author: Automattic, Dekode, Facebook, Auto-updates disabled
    Keywords to Links Converter: version: 2.1.7, author: Waseem Senjer (latest version: 2.2.3), Auto-updates disabled
    Mashshare Share Buttons: version: 3.3.9, author: René Hermenau (latest version: 3.8.9), Auto-updates disabled
    miniOrange 2 Factor Authentication: version: 5.1.14, author: miniOrange (latest version: 5.8), Auto-updates disabled
    Related Posts by Zemanta: version: 1.13, author: Zemanta Ltd., Auto-updates disabled
    Share Buttons: version: 1.2.4, author: https://huge-it.com/, Auto-updates disabled
    Social Share Buttons - SEO Optimized: version: 1.0, author: spyrosli, Auto-updates disabled
    WordPress Importer: version: 0.6.3, author: wordpressdotorg (latest version: 0.8.1), Auto-updates disabled
    WordPress Related Posts: version: 3.6, author: Zemanta Ltd., Auto-updates disabled
    WP Like button: version: 1.4.11, author: CRUDLab (latest version: 1.8.0), Auto-updates disabled wp-media image_editor: WP_Image_Editor_GD
    imagick_module_version: Not available
    imagemagick_version: Not available
    imagick_version: Not available
    file_uploads: File uploads is turned off
    post_max_size: 8M
    upload_max_filesize: 2M
    max_effective_size: 2 MB
    max_file_uploads: 20
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: not available wp-server server_architecture: Linux 4.15.0-211-generic x86_64
    httpd_software: Apache/2.4.29 (Ubuntu)
    php_version: 7.4.33 64bit
    php_sapi: apache2handler
    max_input_variables: 1000
    time_limit: 30
    memory_limit: 128M
    admin_memory_limit: 256M
    max_input_time: 60
    upload_max_filesize: 2M
    php_post_max_size: 8M
    curl_version: 7.58.0 OpenSSL/1.1.1d
    suhosin: false
    imagick_availability: false
    pretty_permalinks: true
    htaccess_extra_rules: true wp-database extension: mysqli
    server_version: 5.7.37-log
    client_version: mysqlnd 7.4.33
    max_allowed_packet: 4194304
    max_connections: 65 wp-constants WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /var/www/html/articles/wp-content
    WP_PLUGIN_DIR: /var/www/html/articles/wp-content/plugins
    WP_MEMORY_LIMIT: 64M
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined wp-filesystem wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable web_stories web_stories_version: 1.35.0
    web_stories_db_version: 3.0.16
    web_stories_amp_version: 2.5.1-alpha
    web_stories_cdn_url: https://wp.stories.google/static/19
    web_stories_dev_mode: false
    web_stories_theme_support: Disabled
    web_stories_enabled_experiments: No experiments enabled
    web_stories_libxml_version: 2.9.14
    Plugin Author Pascal Birchler

    (@swissspidy)

    Thanks! While we look at it, please follow the steps I shared about temporarily disabling other plugins.

    Also, I’d recommend updating WordPress to the latest version.

    Thread Starter anoop1mg

    (@anoop1mg)

    Hii Pascal, I am unable to install this plugin you mentioned earlier.
    I am getting this error message while doing so.
    Installation failed: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

    Plugin Author Pascal Birchler

    (@swissspidy)

    That’s strange. If it doesn’t work when downloading it again (or installing directly through Plugins -> Add New) then you might not have enough disk space on your server. In that case you need to reach out to your hosting provider.

    The easiest way is still to simply manually temporarily disable all other plugins (and changing the theme) for a couple of minutes and I suggest doing so. That’s the quickest way to isolate the issue.

    Thread Starter anoop1mg

    (@anoop1mg)

    Hii Pascal,
    Things are working now.
    As you mentioned, the server was running low on storage. This was the cause behind the saving issue too.
    Thanks a lot for your time and help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Unable to save web story’ is closed to new replies.