advancedforms / advanced-forms

WordPress plugin to create forms using Advanced Custom Fields
75 stars 14 forks source link

Emoji in textarea prevents field to save in entry and success message to show #121

Open te-online opened 11 months ago

te-online commented 11 months ago

Reproduction steps:

Website Report ``` ### wp-core ### version: 6.4.1 site_language: en_US user_language: en_US timezone: Europe/Berlin permalink: /%category%/%postname%/ https_status: true multisite: true user_registration: false blog_public: 1 default_comment_status: undefined environment_type: production site_count: 2 network_count: 1 user_count: 2 dotorg_communication: true ### wp-dropins (1) ### object-cache.php: true ### wp-plugins-active (10) ### Advanced Custom Fields PRO: version: 6.2.3, author: WP Engine, Auto-updates disabled Advanced Forms: version: 1.9.3.2, author: Phil Kurth (Hookturn), Auto-updates enabled Classic Editor: version: 1.6.3, author: WordPress Contributors, Auto-updates enabled Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled Limit Login Attempts Reloaded: version: 2.25.26, author: Limit Login Attempts Reloaded, Auto-updates enabled No Category Base (WPML): version: 1.3, author: Marios Alexandrou, Auto-updates enabled Redis Object Cache: version: 2.5.0, author: Till Krüss, Auto-updates enabled Statify: version: 1.8.4, author: pluginkollektiv, Auto-updates enabled TinyPNG - JPEG, PNG & WebP image compression: version: 3.4.3, author: TinyPNG, Auto-updates enabled WP Offload SES Lite: version: 1.6.6, author: Delicious Brains, Auto-updates enabled ### 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.6.0 file_uploads: 1 post_max_size: 1G upload_max_filesize: 1G max_effective_size: 1 GB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 122 MB imagick::RESOURCETYPE_DISK: 1073741824 imagick::RESOURCETYPE_FILE: 786432 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, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, 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, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, 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, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP ghostscript_version: 9.53.3 ### wp-server ### server_architecture: Linux 5.15.0-88-generic x86_64 httpd_software: Apache/2.4.56 (Debian) php_version: 8.0.30 64bit php_sapi: apache2handler max_input_variables: 1000 time_limit: 30 memory_limit: 128M admin_memory_limit: 256M max_input_time: -1 upload_max_filesize: 1G php_post_max_size: 1G curl_version: 7.74.0 OpenSSL/1.1.1w suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: true current: 2023-11-19T12:07:49+00:00 utc-time: Sunday, 19-Nov-23 12:07:49 UTC server-time: 2023-11-19T13:07:49+01:00 ### wp-database ### extension: mysqli server_version: 10.11.5-MariaDB-1:10.11.5+maria~ubu2204 client_version: mysqlnd 8.0.30 max_allowed_packet: 16777216 max_connections: 151 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /var/www/html/wp-content WP_PLUGIN_DIR: /var/www/html/wp-content/plugins WP_MEMORY_LIMIT: 64M WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: true WP_DEBUG_DISPLAY: false WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined 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 ```

First, I thought this issue may be related to my database charset, but it looks to be correct. Any ideas why this is happening? I did notice that I can't save emojis in WordPress posts either, so maybe it is an issue with my setup after all?