• Hi sir,

    Please assist.

    One of our server is not supporting 6.0 update. Once the wordpress site has been updated to 6.0 it is throwing errors. While checking the error log we are receiving the following error.

    ””
    PHP Fatal error: Uncaught Error: Call to undefined function wp_should_skip_block_supports_serialization() in /home/webtech1/shristab.co.in/wp-includes/block-supports/elements.php:101
    ”’
    Anyone please asist.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please tell us about your server. Go to TOOLS -> SITE HEALTH and paste the info report in a reply here.

    Thread Starter stephyf

    (@stephyf)

    Hi,

    Please find the info.

    ### wp-core ###

    version: 6.0
    site_language: en_US
    user_language: en_US
    timezone: +00:00
    permalink: /%year%/%monthnum%/%day%/%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: -1
    dotorg_communication: true

    ### wp-paths-sizes ###

    wordpress_path: /home/webtech1/shristab.co.in
    wordpress_size: loading…
    uploads_path: /home/webtech1/shristab.co.in/wp-content/uploads
    uploads_size: loading…
    themes_path: /home/webtech1/shristab.co.in/wp-content/themes
    themes_size: loading…
    plugins_path: /home/webtech1/shristab.co.in/wp-content/plugins
    plugins_size: loading…
    database_size: loading…
    total_size: loading…

    ### wp-active-theme ###

    name: OceanWP (oceanwp)
    version: 3.0.5 (latest version: 3.3.0)
    author: Nick
    author_website: https://oceanwp.org/about-me/
    parent_theme: none
    theme_features: core-block-patterns, widgets-block-editor, align-wide, wp-block-styles, responsive-embeds, editor-styles, editor-style, menus, post-formats, title-tag, automatic-feed-links, post-thumbnails, custom-header, custom-logo, html5, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, widgets
    theme_path: /home/webtech1/shristab.co.in/wp-content/themes/oceanwp
    auto_update: Disabled

    ### wp-themes-inactive (3) ###

    Twenty Twenty: version: 1.9, author: the WordPress team (latest version: 2.0), Auto-updates disabled
    Twenty Twenty-One: version: 1.4, author: the WordPress team (latest version: 1.6), Auto-updates disabled
    Twenty Twenty-Two: version: 1.0, author: the WordPress team (latest version: 1.2), Auto-updates disabled

    ### wp-plugins-active (14) ###

    All-in-One WP Migration: version: 7.56, author: ServMask (latest version: 7.61), Auto-updates disabled
    Chaty: version: 2.8.3, author: Premio (latest version: 2.9.2), Auto-updates disabled
    Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates disabled
    Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled
    Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: version: 6.10.0, author: SeedProd, Auto-updates disabled
    Elementor: version: 3.5.6, author: Elementor.com (latest version: 3.6.5), Auto-updates disabled
    ElementsKit Lite: version: 2.5.4, author: Wpmet (latest version: 2.6.1), Auto-updates disabled
    Essential Addons for Elementor: version: 5.0.9, author: WPDeveloper (latest version: 5.1.4), Auto-updates disabled
    Ocean Extra: version: 1.9.4, author: OceanWP (latest version: 2.0.0), Auto-updates disabled
    Premium Addons for Elementor: version: 4.8.11, author: Leap13 (latest version: 4.9.15), Auto-updates disabled
    Smart Slider 3: version: 3.5.1.4, author: Nextend (latest version: 3.5.1.7), Auto-updates disabled
    wpDataTables – Tables & Table Charts: version: 2.1.28, author: TMS-Plugins (latest version: 2.1.32), Auto-updates disabled
    WPForms Lite: version: 1.7.2.1, author: WPForms (latest version: 1.7.4.2), Auto-updates disabled
    WP Table Builder: version: 1.3.16, author: WP Table Builder (latest version: 1.4.0), Auto-updates disabled

    ### wp-plugins-inactive (1) ###

    Hello Dolly: version: 1.7.2, author: Matt Mullenweg, 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: 512M
    upload_max_filesize: 512M
    max_effective_size: 512 MB
    max_file_uploads: 20
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: unknown

    ### wp-server ###

    server_architecture: Linux 3.10.0-962.3.2.lve1.5.38.el7.x86_64 x86_64
    httpd_software: LiteSpeed
    php_version: 7.3.33 64bit
    php_sapi: litespeed
    max_input_variables: 1000
    time_limit: 300
    memory_limit: 512M
    max_input_time: 300
    upload_max_filesize: 512M
    php_post_max_size: 512M
    curl_version: 7.71.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
    client_version: mysqlnd 5.0.12-dev – 20150407 – $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
    max_allowed_packet: 268435456
    max_connections: 151

    ### wp-constants ###

    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/webtech1/shristab.co.in/wp-content
    WP_PLUGIN_DIR: /home/webtech1/shristab.co.in/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 512M
    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: utf8
    DB_COLLATE: undefined

    ### wp-filesystem ###

    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable

    ### wpforms ###

    version: 1.7.2.1
    lite: Sep 4, 2021 @ 4:38pm
    upload_dir: Writable
    db_tables: wpur_wpforms_tasks_meta
    total_forms: 2
    total_submissions: 25

    `

    Thread Starter stephyf

    (@stephyf)

    Hi,

    Do you need any other info?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I wasn’t expecting to see your site at 6.0. Anyhow, try updating PHP to version 7.4.

    Thread Starter stephyf

    (@stephyf)

    Hi Steve,

    I have changed the version to 7.4..but the site showing still critical error.

    Thread Starter stephyf

    (@stephyf)

    Hi,
    Any update

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Let’s assume that 6.0 did not install completely. From DASHBOARD -> UPDATES, click the button to reinstall 6.0.

    Thread Starter stephyf

    (@stephyf)

    Hi sir,

    I have done that. But no changes happened.

    Thread Starter stephyf

    (@stephyf)

    Any help??

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    More troubleshooting: This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    @stephyf I found that there were a number of changes to wp-settings.php in the WP 6.0 upgrade, including the following new line:

    require ABSPATH . WPINC . '/block-supports/utils.php';

    That file contains the definition for the wp_should_skip_block_supports_serialization() function. Adding that line fixed my problems.

    Normally I don’t update wp-settings.php during an upgrade, but you may find it worthwhile to compare the differences.

    @cherdt you saved me, thank you very much

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘WordPress version 6 update’ is closed to new replies.