• After update theme unable to load.

    Info by WP:
    
    
    WordPress verze 6.5.3
    Aktuální ?ablona: Spectra One (verze 1.1.1)
    Aktuální plugin: (verze )
    Verze PHP 8.2.19
    
    Podrobnosti chyby
    =================
    Na ?ádku ?. 37 v souboru
    /var/www/vhosts/mistrovstvi2024.adkcr.cz/…php
    do?lo k chybě typu E_ERROR. Chybová zpráva: Uncaught TypeError:
    Swt\{closure}(): Argument #1 ($theme_json) must be of type
    WP_Theme_JSON_Data, WP_Theme_JSON_Data_Gutenberg given in
    /var/www/vhosts/mistrovstvi2024.adkcr.cz/…:37
    Stack trace:
    #0 [internal function]: Swt\{closure}()
    #1 /var/www/vhosts/mistrovstvi2024.adkcr.cz/…4):
    call_user_func_array()
    #2 /var/www/vhosts/mistrovstvi2024.adkcr.cz/…5):
    WP_Hook->apply_filters()
    #3 /var/www/vhosts/mistrovstvi2024.adkcr.cz/…2):
    apply_filters()
    #4 /var/www/vhosts/mistrovstvi2024.adkcr.cz/…1):
    WP_Theme_JSON_Resolver_Gutenberg::get_user_data()
    #5 /var/www/vhosts/mistrovstvi2024.adkcr.cz/…3):
    WP_Theme_JSON_Resolver_Gutenberg::get_merged_data()
    #6 /var/www/vhosts/mistrovstvi2024.adkcr.cz/…3):
    gutenberg_get_global_settings()
    #7 [internal function]: WP_Duotone_Gutenberg::set_global_styles_presets()
    #8 /var/www/vhosts/mistrovstvi2024.adkcr.cz/…4):
    call_user_func_array()
    #9 /var/www/vhosts/mistrovstvi2024.adkcr.cz/…8):
    WP_Hook->apply_filters()
    #10 /var/www/vhosts/mistrovstvi2024.adkcr.cz/…7):
    WP_Hook->do_action()
    #11 /var/www/vhosts/mistrovstvi2024.adkcr.cz/…7):
    do_action()
    #12 /var/www/vhosts/mistrovstvi2024.adkcr.cz/…7):
    require_once('...')
    #13 /var/www/vhosts/mistrovstvi2024.adkcr.cz/…0):
    require_once('...')
    #14 /var/www/vhosts/mistrovstvi2024.adkcr.cz/…2):
    require_once('...')
    #15 {main}
    thrown
    ` wp-core
    
    version: 6.5.3
    site_language: cs_CZ
    user_language: cs_CZ
    timezone: Europe/Prague
    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: /var/www/vhosts/mistrovstvi2024.adkcr.cz/httpdocs
    wordpress_size: 75,55 MB (79220017 bytes)
    uploads_path: /var/www/vhosts/mistrovstvi2024.adkcr.cz/httpdocs/wp-content/uploads
    uploads_size: 27,61 MB (28951145 bytes)
    themes_path: /var/www/vhosts/mistrovstvi2024.adkcr.cz/httpdocs/wp-content/themes
    themes_size: 5,56 MB (5831190 bytes)
    plugins_path: /var/www/vhosts/mistrovstvi2024.adkcr.cz/httpdocs/wp-content/plugins
    plugins_size: 147,27 MB (154420133 bytes)
    database_size: 11,73 MB (12304384 bytes)
    total_size: 267,72 MB (280726869 bytes) wp-dropins (1)
    
    maintenance.php: true wp-active-theme
    
    name: Twenty Twenty-Four (twentytwentyfour)
    version: 1.1
    author: the WordPress team
    author_website: https://www.ads-software.com
    parent_theme: none
    theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, widgets-block-editor, block-templates
    theme_path: /var/www/vhosts/mistrovstvi2024.adkcr.cz/httpdocs/wp-content/themes/twentytwentyfour
    auto_update: Deaktivováno wp-themes-inactive (2)
    
    Hello Elementor: version: 3.0.1, author: Elementor tym, Automatické aktualizace zakázány
    Spectra One: version: 1.1.1, author: Brainstorm Force, Automatické aktualizace zakázány wp-mu-plugins (1)
    
    WPMUDEV support Mu-Plugin: version: 1.0, author: WPMUDEV Second Line Support wp-plugins-active (9)
    
    Add to Calendar Button: version: 2.3.4, author: Jens Kuerschner, Automatické aktualizace zakázány
    Cool Flipbox: version: 1.8.3, author: Cool Plugins, Automatické aktualizace zakázány
    Countdown builder: version: 2.7.7, author: Adam Skaat, Automatické aktualizace zakázány
    Forminator: version: 1.30.2, author: WPMU DEV, Automatické aktualizace zakázány
    Gutenberg: version: 18.3.0, author: Gutenberg Team, Automatické aktualizace zakázány
    Real Cookie Banner (Free): version: 4.7.8, author: devowl.io, Automatické aktualizace zakázány
    Spectra: version: 2.13.2, author: Brainstorm Force, Automatické aktualizace zakázány
    TranslatePress - Multilingual: version: 2.7.6, author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban, Automatické aktualizace zakázány
    WP Mail SMTP: version: 4.0.1, author: WP Mail SMTP, Automatické aktualizace zakázány wp-media
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1691
    imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
    imagick_version: 3.7.0
    file_uploads: 1
    post_max_size: 1000M
    upload_max_filesize: 1000M
    max_effective_size: 1?000 MB
    max_file_uploads: 20
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 122 MB
    imagick::RESOURCETYPE_DISK: 1073741824
    imagick::RESOURCETYPE_FILE: 6144
    imagick::RESOURCETYPE_MAP: 512 MB
    imagick::RESOURCETYPE_MEMORY: 256 MB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM
    ghostscript_version: 10.00.0 wp-server
    
    server_architecture: Linux 6.1.0-21-amd64 x86_64
    httpd_software: Apache
    php_version: 8.2.19 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 1000
    time_limit: 3000
    memory_limit: 128M
    admin_memory_limit: 256M
    max_input_time: 60
    upload_max_filesize: 1000M
    php_post_max_size: 1000M
    curl_version: 7.88.1 OpenSSL/3.0.13
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: false
    current: 2024-05-16T12:35:55+00:00
    utc-time: Thursday, 16-May-24 12:35:55 UTC
    server-time: 2024-05-16T14:35:52+02:00 wp-database
    
    extension: mysqli
    server_version: 10.11.8-MariaDB-deb12
    client_version: mysqlnd 8.2.19
    max_allowed_packet: 16777216
    max_connections: 151 wp-constants
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /var/www/vhosts/mistrovstvi2024.adkcr.cz/httpdocs/wp-content
    WP_PLUGIN_DIR: /var/www/vhosts/mistrovstvi2024.adkcr.cz/httpdocs/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: false
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Nedefinováno
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined wp-filesystem
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable wp_mail_smtp
    
    version: 4.0.1
    license_key_type: lite
    debug: No debug notices found.
    lite_install_date: B?e 17, 2024 @ 1:17pm

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @holylibor,

    Sorry for the inconvenience caused to you.

    I have replicated the issue and passed on the details to our developers to investigate the issue in detail. Rest assured, I will get back to you as soon as I receive an update from them. Till then, I appreciate your patience and understanding in this matter.

    Have a nice day!

    2024-05-17 07:18:21.764884 [NOTICE] [1270206] [172.71.123.208:11464:HTTP2-1#madi.se-443] [STDERR] PHP Fatal error: Uncaught TypeError: Swt{closure}(): Argument #1 ($theme_json) must be of type WP_Theme_JSON_Data, WP_Theme_JSON_Data_Gutenberg given, called in /home/../../../public_html/wp-includes/class-wp-hook.php on line 324 and defined in /home/../../../public_htmlwp-content/themes/spectra-one/inc/compatibility/spectra.php:37

    Hi?@holylibor, @jadmadi,

    The dev team has added the task to the tasks list, we will release an updated version of the theme with the fix as soon as possible.

    Have a nice day!

    Thread Starter holylibor

    (@holylibor)

    Thank you very much for letting me know.

    Best regards,

    Libor

    Thank you @mohsinbsf

    For me, this happened only when the Gutenberg plugin is active and the theme is Spectra One. So I deactivated Gutenberg until the next version of Spectra One is released

    EDIT: if you cannot access your dashboard, simple rename the plugins/gutenberg folder from FTP

    EDIT2: Brainstorm Force solved it with Spectra One 1.1.2 released yesterday

    • This reply was modified 6 months, 1 week ago by Patricia BT.
    • This reply was modified 6 months, 1 week ago by Patricia BT.

    Hi All,

    We have released the updated version of the Spectra One theme and the issue is fixed.

    Have a nice day!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Theme crachd after update to latest version’ is closed to new replies.