Error trying to open text block editor
-
I have a problem editing the pages. Every time I try to edit a block of text the following JS error occurs:
TypeError: l.select2 is not a function at HTMLDivElement._initFontField (fl-builder.min.js?ver=2.7.4.4:1:172208) at Function.each (jquery.min.js?ver=3.7.1:2:3129) at e.<computed>.each (jquery.min.js?ver=3.7.1:2:1594) at Object._initFontFields (fl-builder.min.js?ver=2.7.4.4:1:172011) at Object._initSettingsForms (fl-builder.min.js?ver=2.7.4.4:1:130692) at Object.<anonymous> (fl-builder.min.js?ver=2.7.4.4:1:320752)
It seems to be an incompatibility error with Woocommerce (I have disabled all the plugins and the error only occurs when I re-activate Woocommerce).
-
Hi @ingenyus, what theme are you using? I’m not able to see any issue with WooCommerce active so I wonder if it might be related to the theme instead.
Also, you said you were editing Pages, is that correct? Just want to make sure that it’s pages and not products you are editing.
Next, when you say open text block, do you mean an actual block in the block editor or are you referring to a Text Editor module in Beaver Builder?
Lastly, can you go to Site Health (Tools > Site Health > Info) and let me know what version of PHP you are using?
- This reply was modified 8 months, 3 weeks ago by Jamie.
Hi @codente,
The theme i’m ussing is Icelander (actually a child theme of it). I’m going to check if the issue is responsible but in the meantime here is the information you asked for:
- It happens on all beaver builder pages (not products, archives, single-posts, etc).
- When i say “open text block”, i mean a Text Editor module in Beaver Builder.
Here is my report:
` wp-core version: 6.4.3
site_language: es_ES
user_language: es_ES
timezone: Europe/Madrid
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: undefined
environment_type: production
user_count: 1
dotorg_communication: true wp-paths-sizes wordpress_path: /home/indrops/web/indrops.es/public_html
wordpress_size: 69,70 MB (73081760 bytes)
uploads_path: /home/indrops/web/indrops.es/public_html/wp-content/uploads
uploads_size: 112,63 MB (118097619 bytes)
themes_path: /home/indrops/web/indrops.es/public_html/wp-content/themes
themes_size: 7,47 MB (7834436 bytes)
plugins_path: /home/indrops/web/indrops.es/public_html/wp-content/plugins
plugins_size: 288,73 MB (302759224 bytes)
database_size: 53,28 MB (55869440 bytes)
total_size: 531,81 MB (557642479 bytes) wp-active-theme name: Icelander Child (icelander-child)
version: 1.0.0
author: WebMan Design
author_website: https://www.webmandesign.eu/
parent_theme: Icelander (icelander)
theme_features: core-block-patterns, tha_hooks, widgets-block-editor, post-thumbnails, starter-content, menus, customize-selective-refresh-widgets, custom-header, webman-amplifier, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, child-theme-stylesheet, editor-style, title-tag, custom-logo, automatic-feed-links, html5, custom-background, widgets
theme_path: /home/indrops/web/indrops.es/public_html/wp-content/themes/icelander-child
auto_update: Desactivado wp-parent-theme name: Icelander (icelander)
version: 1.7.0 (latest version: 1.7.1)
author: WebMan Design
author_website: https://www.webmandesign.eu/
theme_path: /home/indrops/web/indrops.es/public_html/wp-content/themes/icelander
auto_update: Desactivado wp-themes-inactive (1) Twenty Twenty-Four: version: 1.0, author: el equipo de WordPress, Actualizaciones automáticas desactivadas wp-mu-plugins (2) burst_rest_api_optimizer.php: author: (undefined), version: (undefined)
WP Password bcrypt: version: 1.1.0, author: Roots wp-plugins-active (22) Advanced Custom Fields: version: 6.2.7, author: WP Engine, Actualizaciones automáticas desactivadas
Beaver Builder Plugin (Lite Version): version: 2.7.4.4, author: The Beaver Builder Team, Actualizaciones automáticas desactivadas
Burst Statistics - Privacy-Friendly Analytics for WordPress: version: 1.5.6.1, author: Burst Statistics B.V., Actualizaciones automáticas desactivadas
Classic Editor: version: 1.6.3, author: WordPress Contributors, Actualizaciones automáticas desactivadas
Classic Widgets: version: 0.3, author: WordPress Contributors, Actualizaciones automáticas desactivadas
Contact Form 7: version: 5.9, author: Takayuki Miyoshi, Actualizaciones automáticas desactivadas
CookieYes | GDPR Cookie Consent: version: 3.2.0, author: CookieYes, Actualizaciones automáticas desactivadas
Copy & Delete Posts: version: 1.4.6, author: Inisev, Actualizaciones automáticas desactivadas
Enable Media Replace: version: 4.1.5, author: ShortPixel, Actualizaciones automáticas desactivadas
Google Listings and Ads: version: 2.6.1, author: WooCommerce, Actualizaciones automáticas desactivadas
MailPoet: version: 4.45.0, author: MailPoet, Actualizaciones automáticas desactivadas
Maintenance: version: 4.08, author: WebFactory Ltd, Actualizaciones automáticas desactivadas
Safe SVG: version: 2.2.2, author: 10up, Actualizaciones automáticas desactivadas
Smush: version: 3.15.5, author: WPMU DEV, Actualizaciones automáticas desactivadas
WebMan Amplifier: version: 1.5.10, author: WebMan Design, Oliver Juhas, Actualizaciones automáticas desactivadas
WooCommerce: version: 8.6.1, author: Automattic, Actualizaciones automáticas desactivadas
WooCommerce Multilingual & Multicurrency: version: 5.3.5, author: OnTheGoSystems, Actualizaciones automáticas desactivadas
WP-SCSS: version: 4.0.2, author: Connect Think, Actualizaciones automáticas desactivadas
WP Menu Cart: version: 2.14.2, author: WP Overnight, Actualizaciones automáticas desactivadas
WPML Multilingual CMS: version: 4.6.9, author: OnTheGoSystems, Actualizaciones automáticas desactivadas
WPML String Translation: version: 3.2.9, author: OnTheGoSystems, Actualizaciones automáticas desactivadas
Yoast SEO: version: 22.2, author: Team Yoast, Actualizaciones automáticas desactivadas wp-plugins-inactive (3) All-in-One WP Migration: version: 7.81, author: ServMask, Actualizaciones automáticas desactivadas
All-in-One WP Migration Unlimited Extension: version: 2.55, author: ServMask, Actualizaciones automáticas desactivadas
Really Simple SSL: version: 7.2.3, author: Really Simple Plugins, Actualizaciones automáticas desactivadas 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: 50M
upload_max_filesize: 50M
max_effective_size: 50 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 122 MB
imagick::RESOURCETYPE_DISK: 1073741824
imagick::RESOURCETYPE_FILE: 768
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, XPM
ghostscript_version: 9.55.0 wp-server server_architecture: Linux 5.15.0-71-generic x86_64
httpd_software: Apache/2.4.57 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2
php_version: 7.4.33 64bit
php_sapi: fpm-fcgi
max_input_variables: 1000
time_limit: 300
memory_limit: 1024M
max_input_time: 300
upload_max_filesize: 50M
php_post_max_size: 50M
curl_version: 7.81.0 OpenSSL/3.0.2
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
current: 2024-03-07T11:08:40+00:00
utc-time: Thursday, 07-Mar-24 11:08:40 UTC
server-time: 2024-03-07T12:08:37+01:00 wp-database extension: mysqli
server_version: 10.11.2-MariaDB-1:10.11.2+maria~ubu2204
client_version: mysqlnd 7.4.33
max_allowed_packet: 134217728
max_connections: 200 wp-constants WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/indrops/web/indrops.es/public_html/wp-content
WP_PLUGIN_DIR: /home/indrops/web/indrops.es/public_html/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 1024M
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: Sin definir
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: writableIf you want, I can create a user for you so you can see for yourself.
Since we don’t have a way to test that theme due to it being premium, please do proceed with a test with all plugins except BB Lite and WooCommerce disabled including disabling Really Simple SSL and using a default theme and let us know the results of that.
Your site URLs showing up as undefined is interesting. I’m not sure what could cause that but I’ll see if I can figure that out or find that out as it could potentially be related.
FYI: It’s against the rules to mention creating a user or for us to ask you to create a user here in the forums so please don’t do that.
If you’re worried about disabling things on your site..
If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to deactivate all plugins and change the theme for you while you’re still logged in without affecting normal visitors to your site.
Then, you could check Site Info again and see if these values still show as undefined.
WP_HOME:
WP_SITEURL:Next, you can go into troubleshooting mode and enable BB Lite and WooCommerce and see if the issue with the Text Editor module is still there.
- The topic ‘Error trying to open text block editor’ is closed to new replies.