• Resolved Rafa? Ca?ka

    (@rafaucau)


    When the Site Kit plugin is active, the Carbon Fields gallery field doesn’t work in custom post type.

    There are errors in console:

    core.min.js?ver=3.1.10:10 Uncaught TypeError: Cannot read property 'combineReducers' of undefined
        at Module.<anonymous> (core.min.js?ver=3.1.10:10)
        at n (core.min.js?ver=3.1.10:1)
        at core.min.js?ver=3.1.10:1
        at core.min.js?ver=3.1.10:1
    (anonymous) @ core.min.js?ver=3.1.10:10
    n @ core.min.js?ver=3.1.10:1
    (anonymous) @ core.min.js?ver=3.1.10:1
    (anonymous) @ core.min.js?ver=3.1.10:1
    metaboxes.min.js?ver=3.1.10:1 Uncaught TypeError: Cannot read property 'combineReducers' of undefined
        at Module.<anonymous> (metaboxes.min.js?ver=3.1.10:1)
        at n (metaboxes.min.js?ver=3.1.10:1)
        at metaboxes.min.js?ver=3.1.10:1
        at metaboxes.min.js?ver=3.1.10:1
    (anonymous) @ metaboxes.min.js?ver=3.1.10:1
    n @ metaboxes.min.js?ver=3.1.10:1
    (anonymous) @ metaboxes.min.js?ver=3.1.10:1
    (anonymous) @ metaboxes.min.js?ver=3.1.10:1
    blocks.min.js?ver=3.1.10:11 Uncaught TypeError: Cannot read property 'withConditionalLogic' of undefined
        at Module.<anonymous> (blocks.min.js?ver=3.1.10:11)
        at n (blocks.min.js?ver=3.1.10:1)
        at blocks.min.js?ver=3.1.10:1
        at blocks.min.js?ver=3.1.10:1
    (anonymous) @ blocks.min.js?ver=3.1.10:11
    n @ blocks.min.js?ver=3.1.10:1
    (anonymous) @ blocks.min.js?ver=3.1.10:1
    (anonymous) @ blocks.min.js?ver=3.1.10:1
    post-new.php?post_type=gallery:1899 Uncaught TypeError: Cannot read property 'initialize' of undefined
        at post-new.php?post_type=gallery:1899

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    @rafaucau Thanks for reporting. While I am unfamiliar with the Carbon Fields plugin have you tried the following:
    – Checking on another WordPress site with minimal plugins and a default theme
    – Checked using alternate browsers
    – Disabled other active plugins before checking again
    If you want to share your Site Health information I can try and replicate your setup to check for the same issue.

    Thread Starter Rafa? Ca?ka

    (@rafaucau)

    @jamesosborne
    I checked on a minimal installation of WordPress and alternate browsers. As soon as the Site Kit plugin is activated, the gallery selection box will stop working.

    Because you are unfamiliar with Carbon Fields, I created a simple plugin using this library (I’m using Carbon Fields in my own theme, but I don’t want to publish it):
    https://drive.google.com/file/d/1Xap2vH_IfzXYyn9C4YZsMkYqGVEp_epH/view?usp=sharing
    After installation and activation, the Gallery post type will appear. Try adding a new post there. When the Site Kit plugin is disabled, you will be able to choose images. When you enable Site Kit and try to add a new post in the gallery post type, the box where you can choose images will disappear.

    Site Health information:

    
    ### wp-core ###
    
    version: 5.3.2
    site_language: pl_PL
    user_language: pl_PL
    timezone: Europe/Warsaw
    permalink: /%postname%/
    https_status: true
    user_registration: 0
    default_comment_status: open
    multisite: false
    user_count: 3
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /home/mqwagqba/public_html
    wordpress_size: 42,83 MB (44909179 bytes)
    uploads_path: /home/mqwagqba/public_html/wp-content/uploads
    uploads_size: 33,23 MB (34842222 bytes)
    themes_path: /home/mqwagqba/public_html/wp-content/themes
    themes_size: 14,22 MB (14906454 bytes)
    plugins_path: /home/mqwagqba/public_html/wp-content/plugins
    plugins_size: 40,60 MB (42570862 bytes)
    database_size: 1,14 MB (1192453 bytes)
    total_size: 132,01 MB (138421170 bytes)
    
    ### wp-dropins (1) ###
    
    advanced-cache.php: true
    
    ### wp-active-theme ###
    
    name: ####
    version: 1.0
    parent_theme: none
    theme_features: title-tag, automatic-feed-links, post-thumbnails
    theme_path: /home/mqwagqba/public_html/wp-content/themes/####
    
    ### wp-themes-inactive (1) ###
    
    Twenty Twenty: version: 1.1, author: zespó? WordPressa
    
    ### wp-plugins-active (9) ###
    
    Automatic NBSP: version: 1.5.4, author: Damian Góra
    Cache Enabler: version: 1.3.4, author: KeyCDN
    Duplicate Post: version: 3.2.4, author: Enrico Battocchi
    Progressive WordPress (PWA): version: 2.1.9, author: Nico Martin
    Safe SVG: version: 1.9.7, author: Daryll Doyle
    Site Kit by Google: version: 1.1.4, author: Google
    Smush: version: 3.3.2, author: WPMU DEV
    WebP Express: version: 0.17.2, author: Bj?rn Rosell
    Yoast SEO: version: 12.7.1, author: Team Yoast
    
    ### wp-plugins-inactive (1) ###
    
    Simple Maintenance: version: 1.0.3, author: naa986
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1684
    imagemagick_version: ImageMagick 6.9.4-10 Q16 x86_64 2017-05-23 https://www.imagemagick.org
    imagick_limits: 
    	imagick::RESOURCETYPE_AREA: 81 GB
    	imagick::RESOURCETYPE_DISK: 1.844674407371E+19
    	imagick::RESOURCETYPE_FILE: 12288
    	imagick::RESOURCETYPE_MAP: 81 GB
    	imagick::RESOURCETYPE_MEMORY: 40 GB
    	imagick::RESOURCETYPE_THREAD: 1
    gd_version: 2.2.5
    ghostscript_version: 9.25
    
    ### wp-server ###
    
    server_architecture: Linux 3.10.0-962.3.2.lve1.5.26.4.el7.x86_64 x86_64
    httpd_software: Apache
    php_version: 7.4.1 64bit
    php_sapi: litespeed
    max_input_variables: 20000
    time_limit: 600
    memory_limit: 512M
    max_input_time: -1
    upload_max_size: 1G
    php_post_max_size: 128M
    curl_version: 7.62.0 OpenSSL/1.0.2k
    suhosin: false
    imagick_availability: true
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 10.2.27-MariaDB
    client_version: mysqlnd 7.4.1
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/mqwagqba/public_html/wp-content
    WP_PLUGIN_DIR: /home/mqwagqba/public_html/wp-content/plugins
    WP_MAX_MEMORY_LIMIT: 512M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    
    • This reply was modified 5 years, 2 months ago by Rafa? Ca?ka.
    Plugin Support James Osborne

    (@jamesosborne)

    @rafaucau Thanks for the update. It will be later in the week before I get a chance to test, but I will follow up with you here.

    Plugin Support James Osborne

    (@jamesosborne)

    @rafaucau Apologies for the delay in getting back to you. I can confirm the same issue from my side. I will speak with the team and see what additional information I can find before updating you here. The issue isn’t specific to the a gallery, you can also this example, with the the same error.

    I can see others have similar console errors reported on that plugins GitHub:
    https://github.com/htmlburger/carbon-fields/issues/786

    There is another issue with the same console errors here.

    Plugin Support James Osborne

    (@jamesosborne)

    @rafaucau Thanks for your patience. I have opened a GitHub issue in relation to this compatibility issue. You can keep track of it there or chime in with your own input. Thanks for reporting.

    Thread Starter Rafa? Ca?ka

    (@rafaucau)

    On the latest version of Site Kit (1.2.0), it works. Thank you!

    Plugin Support James Osborne

    (@jamesosborne)

    @rafaucau Thanks for the update, that’s good news. I’ll update the GitHub issue

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Site kit breaks Carbon Fields gallery field’ is closed to new replies.