• Resolved Marty

    (@bozzmedia)


    This error is showing up for me in the console when accessing the site customizer (/wp-admin/customize.php)

    Uncaught TypeError: blockEditor is undefined
        <anonymous> https://subdomain.redacted.org/wp-content/plugins/contextual-related-posts/includes/admin/blocks/related-posts/index.min.js?ver=1645132641:1

    Anyone else?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ajay

    (@ajay)

    By any chance do you have the block editor disabled probably via the Classic Editor plugin?

    Thread Starter Marty

    (@bozzmedia)

    Thanks for your quick reply! We don’t Classic Editor active any longer, but we used to use it on a previous iteration of the site.

    Here’s a system summary:

    `### WordPress ###

    Home URL: https://redacted.redacted.org
    Site URL: https://redacted.redacted.org
    REST API Base URL: https://redacted.redacted.org/wp-json/
    WordPress Version: 5.9.1 ?
    WordPress Multisite: No
    WordPress Memory Limit: 600M
    WordPress Debug Mode: Yes
    WordPress Debug Log: Yes
    WordPress Script Debug Mode: No
    WordPress Cron: Yes
    WordPress Alternate Cron: No
    Background tasks: No ? cURL error 28: Operation timed out after 2002 milliseconds with 0 bytes received

    ### Active Theme ###

    Redacted – 0.1 ?
    GeneratePress (Parent): by Tom Usborne (https://tomusborne.com) – 3.1.3 ?

    ### Active Plugins ###

    Advanced Posts Widget: by Darrin Boutote – 1.0 ?
    Akismet Anti-Spam: by Automattic – 4.2.2 ?
    Author Avatars List/Block: by Paul Bearne – 2.1.8 ?
    Better Font Awesome: by Mickey Kay – 2.0.1 ?
    Contextual Related Posts: by WebberZone – 3.1.1 ?
    Disable Emails: by WebAware – 1.8.0 ?
    Duplicator: by Snap Creek – 1.4.4 ?
    Event Calendar Newsletter: by Event Calendar Newsletter – 2.13 ?
    GenerateBlocks: by Tom Usborne – 1.4.2 ?
    GP Premium: by Tom Usborne – 2.1.2 ?
    Health Check & Troubleshooting: by The www.remarpro.com community – 1.4.5 ?
    Index WP MySQL For Speed: by Oliver Jones, Rick James – 1.4.3 ?
    Link Library: by Yannick Lefebvre – 7.3.2 ?
    Members: by MemberPress – 3.1.7 ?
    One User Avatar: by One Designs – 2.3.9 ?
    Post Snippets: by Postsnippets – 3.1.6 ?
    Recently Registered: by Mika Epstein – 3.4.4 ?
    Redirection: by John Godley – 5.2.3 ?
    Responsive Gallery Grid: by Jules Colle, BDWM – 2.3.6 ?
    Responsive Lightbox & Gallery: by dFactory – 2.3.4 ?
    Restore Image Title: by Les Bessant – 1.5 ?
    Sassy Social Share: by Team Heateor – 3.3.38 ?
    Send Images to RSS: by Robin Cornett – 3.4.1 ?
    Super RSS Reader: by Aakash Chakravarthy – 4.4.1 ?
    The Events Calendar: by The Events Calendar – 5.14.0.3 ?
    The Events Calendar PRO: by The Events Calendar – 5.12.1 ?
    Ultimate Addons for Gutenberg: by Brainstorm Force – 1.25.4 ?
    Ultimate Blocks: by Ultimate Blocks – 2.4.11 ?
    WP Rollback: by Impress.org – 1.7.1 ?
    Yoast SEO: by Team Yoast – 18.2 ?

    ### Web Server ###

    Software: Apache

    ### PHP ###

    Version: 7.4.28 ?
    Memory Limit: 600M
    Maximum Execution Time: 60
    Maximum File Upload Size: 87M
    Maximum File Uploads: 20
    Maximum Post Size: 87M
    Maximum Input Variables: 4000
    cURL Enabled: Yes (version 7.81.0)
    OpenSSL: OpenSSL 1.1.1m 14 Dec 2021 (269488351)
    Mcrypt Enabled: No
    Mbstring Enabled: Yes
    Loaded Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, cgi-fcgi, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, json, exif, mysqlnd, PDO, Phar, posix, SimpleXML, soap, sockets, sqlite3, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, pdo_sqlite, xmlreader, xmlrpc, memcache, memcached, imagick, Zend OPcache

    ### Database Server ###

    Database Management System: MySQL
    Version: 5.7.37 ?
    Database Character Set: latin1
    Database Collation: latin1_swedish_ci`

    Plugin Author Ajay

    (@ajay)

    @bozzmedia

    I just checked my sites and I can replicate this. I think this is likely because I’m still using the older version of the Gutenberg blocks code rather than the newer one which was released in the last few versions of WP.

    I’ve filed this into Github to be fixed in the next version.

    https://github.com/WebberZone/contextual-related-posts/issues/159

    Thread Starter Marty

    (@bozzmedia)

    Thank for the prompt attention and fix for this. You rock!

    Plugin Author Ajay

    (@ajay)

    It won’t be for a while as I do this on the side but upgrading the blocks has been on my list given all the movements in Gutenberg.

    I’ll mark this closed as I’ve filed it in GitHub. In case you’re looking for updates, it’s worthwhile following the thread there.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Uncaught TypeError: blockEditor is undefined’ is closed to new replies.