[wp-trac] [WordPress Trac] #54046: Uncaught SyntaxError: Invalid regular expression
WordPress Trac
noreply at wordpress.org
Tue Aug 31 22:34:14 UTC 2021
#54046: Uncaught SyntaxError: Invalid regular expression
-------------------------------+-----------------------------
Reporter: mmakenzi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 5.8
Severity: normal | Keywords:
Focuses: javascript |
-------------------------------+-----------------------------
Hi
I am trying to install a fresh version of WordPress on my server
but the problem is, on the add new post page, I am getting this error:
{{{
Uncaught SyntaxError: Invalid regular expression:
/[!-/:-@[-`{-~б─-б©ц≈ц╥Б──-Б╞©Б╦─-Б╧©]/: Range out of order in character
class
at new RegExp (<anonymous>)
at Module.pC98
(wordcount.min.js?ver=61ab1af9326f4d5fda7ed01990e1be70:2)
at t (wordcount.min.js?ver=61ab1af9326f4d5fda7ed01990e1be70:2)
at wp.wordcount.YLtl
(wordcount.min.js?ver=61ab1af9326f4d5fda7ed01990e1be70:2)
at wordcount.min.js?ver=61ab1af9326f4d5fda7ed01990e1be70:2
}}}
however everything is fine even with this error until I try to install SEO
plugins, like Yoast SEO and Rank Math SEO, but the cause of the problem is
WordPress
I tried everything to see if this problem will gone away or not
Tested with php 7.4 and 8.0
Tested with chrome, firefox and opera
Tested with mysql and mariadb, also tested with different charset
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54046>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list