Help Wordpress Experts... Got an error that we can't solve

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • notinmybackyard
    Confirmed User
    • Sep 2012
    • 3230

    #1

    Help Wordpress Experts... Got an error that we can't solve

    Wordpress throws an error every time we try to add a new post. Everything else seems to work great!

    We have also tried deleting the wordpress blog and then creating a fresh clean install. The problem returns. We're absolutely lost!

    Below is the error

    Code:
    TypeError: Cannot read properties of undefined (reading 'decodeEntities')
        at https://domain.com/news/wp-includes/js/dist/block-editor.min.js?ver=ed2b2aa3837336baf00f:26:298194
        at kt (https://domain.com/news/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:47633)
        at js (https://domain.com/news/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:120746)
        at kl (https://domain.com/news/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88654)
        at yl (https://domain.com/news/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88582)
        at vl (https://domain.com/news/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88445)
        at ol (https://domain.com/news/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85269)
        at cl (https://domain.com/news/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85656)
        at zn (https://domain.com/news/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:32470)
        at https://domain.com/news/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:83221
    officially retired as of March 01 2018 but still fucking around and getting into shit.
  • Colmike9
    (>^_^)b
    • Dec 2011
    • 7230

    #2
    Did you possibly switch from Apache to Nginx?
    Join the BEST cam affiliate program on the internet!
    I've referred over $1.7mil in spending this past year, you should join in.
    I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

    Comment

    • brassmonkey
      Pay It Forward
      • Sep 2005
      • 77396

      #3
      change the theme to default
      TRUMP 2026 KEKAW!!! - The Laken Riley Act Is Law!
      DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com

      Comment

      • notinmybackyard
        Confirmed User
        • Sep 2012
        • 3230

        #4
        Originally posted by Colmike9
        Did you possibly switch from Apache to Nginx?
        Nope

        Originally posted by brassmonkey
        change the theme to default
        Does not appear to be theme related.
        officially retired as of March 01 2018 but still fucking around and getting into shit.

        Comment

        • DVTimes
          xxx
          • Jun 2003
          • 31658

          #5
          When I have a problem, it tends to be down to a plugin.

          Try turning them all off and see if you still have a problem.

          The other thing I find can be the php is the wrong version for your wp site or for a plugin.
          XXX

          Comment

          • brassmonkey
            Pay It Forward
            • Sep 2005
            • 77396

            #6
            you have Yoast? deactivate it all clear cache and try
            TRUMP 2026 KEKAW!!! - The Laken Riley Act Is Law!
            DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com

            Comment

            • brassmonkey
              Pay It Forward
              • Sep 2005
              • 77396

              #7
              it might be your ssl
              TRUMP 2026 KEKAW!!! - The Laken Riley Act Is Law!
              DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com

              Comment

              • Colmike9
                (>^_^)b
                • Dec 2011
                • 7230

                #8
                Could be a config somewhere making the react files not work.
                Join the BEST cam affiliate program on the internet!
                I've referred over $1.7mil in spending this past year, you should join in.
                I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

                Comment

                • Freedom6995
                  Friends of Venus founder
                  • Jul 2010
                  • 1975

                  #9
                  was the fresh install with a fresh database?
                  is the site on CloudFlare?

                  Comment

                  • notinmybackyard
                    Confirmed User
                    • Sep 2012
                    • 3230

                    #10
                    Originally posted by Freedom6995
                    was the fresh install with a fresh database?
                    is the site on CloudFlare?
                    Wiped everything from the domain including the database. 100% clean install with zero plugins, etc. Problem persists.

                    Went over to a different domain that we have. Totally clean install but wordpress session randomly expires. Haven't been able to stay logged in for more than a minute or two. Otherwise, everything works.

                    Either the hosting service or wordpress have fucked with something.
                    officially retired as of March 01 2018 but still fucking around and getting into shit.

                    Comment

                    • brassmonkey
                      Pay It Forward
                      • Sep 2005
                      • 77396

                      #11
                      Originally posted by notinmybackyard
                      Wiped everything from the domain including the database. 100% clean install with zero plugins, etc. Problem persists.

                      Went over to a different domain that we have. Totally clean install but wordpress session randomly expires. Haven't been able to stay logged in for more than a minute or two. Otherwise, everything works.

                      Either the hosting service or wordpress have fucked with something.
                      you have one on there off ssl? pm me where u host if u want my help. just the host name
                      TRUMP 2026 KEKAW!!! - The Laken Riley Act Is Law!
                      DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com

                      Comment

                      • Freedom6995
                        Friends of Venus founder
                        • Jul 2010
                        • 1975

                        #12
                        Originally posted by notinmybackyard
                        Wiped everything from the domain including the database. 100% clean install with zero plugins, etc. Problem persists.

                        Went over to a different domain that we have. Totally clean install but wordpress session randomly expires. Haven't been able to stay logged in for more than a minute or two. Otherwise, everything works.

                        Either the hosting service or wordpress have fucked with something.

                        I would try another host

                        Comment

                        • Colmike9
                          (>^_^)b
                          • Dec 2011
                          • 7230

                          #13
                          Is it having the issue if you use a standard Twenty-something theme?
                          Join the BEST cam affiliate program on the internet!
                          I've referred over $1.7mil in spending this past year, you should join in.
                          I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

                          Comment

                          • notinmybackyard
                            Confirmed User
                            • Sep 2012
                            • 3230

                            #14
                            Originally posted by brassmonkey
                            you have one on there off ssl? pm me where u host if u want my help. just the host name
                            It's not an SSL problem

                            Originally posted by Colmike9
                            Is it having the issue if you use a standard Twenty-something theme?
                            It's not a theme problem.
                            officially retired as of March 01 2018 but still fucking around and getting into shit.

                            Comment

                            • vdbucks
                              Monger Cash
                              • Jul 2010
                              • 2773

                              #15
                              the issue is related to the gutenburg editor, and is likely a javascript conflict caused by a plugin or theme. It could be that another function is unsetting the 'decodeEntities' variable, hence the 'cannot read properties of undefined' message, or it could be as simple as an error in a block of js code that's breaking things.

                              your best bet is to install classic editor, get rid of gutenburg altogether, and never look back... even if that doesn't fix the above issue.

                              this is the function that's breaking: https://developer.wordpress.org/bloc...html-entities/

                              without being able to see the site live, i'm not able to troubleshoot further, but I'm 99% sure there's a javascript conflict somewhere.

                              Comment

                              • notinmybackyard
                                Confirmed User
                                • Sep 2012
                                • 3230

                                #16
                                Originally posted by vdbucks
                                the issue is related to the gutenburg editor, and is likely a javascript conflict caused by a plugin or theme. It could be that another function is unsetting the 'decodeEntities' variable, hence the 'cannot read properties of undefined' message, or it could be as simple as an error in a block of js code that's breaking things.

                                your best bet is to install classic editor, get rid of gutenburg altogether, and never look back... even if that doesn't fix the above issue.

                                this is the function that's breaking: https://developer.wordpress.org/bloc...html-entities/

                                without being able to see the site live, i'm not able to troubleshoot further, but I'm 99% sure there's a javascript conflict somewhere.
                                Thank you !
                                I installed classic editor and suddenly I'm able to write again. A test post seems to work without a problem. Honestly, I didn't even know that the default editor was gutenburg.

                                We've uninstalled, installed, reconfigured apache, trouble shot java, etc. This was a royal annoying problem that no one seemed to have the answer for and that includes the shmucks that built wordpress. I absolutely will keep my eyes open for any way I can repay the favor. (Including paying it forward)
                                officially retired as of March 01 2018 but still fucking around and getting into shit.

                                Comment

                                • fris
                                  Too lazy to set a custom title
                                  • Aug 2002
                                  • 55679

                                  #17
                                  the people who i develop wordpress themes for do not like gutenberg, i developed my theme for classic, since they want to either plug external urls, or just create a simple gallery in a post.
                                  Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                                  Comment

                                  • brassmonkey
                                    Pay It Forward
                                    • Sep 2005
                                    • 77396

                                    #18
                                    Originally posted by notinmybackyard
                                    Thank you !
                                    I installed classic editor and suddenly I'm able to write again. A test post seems to work without a problem. Honestly, I didn't even know that the default editor was gutenburg.

                                    We've uninstalled, installed, reconfigured apache, trouble shot java, etc. This was a royal annoying problem that no one seemed to have the answer for and that includes the shmucks that built wordpress. I absolutely will keep my eyes open for any way I can repay the favor. (Including paying it forward)
                                    you mean to tell me you tried to use that bullshit wow!
                                    TRUMP 2026 KEKAW!!! - The Laken Riley Act Is Law!
                                    DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com

                                    Comment

                                    • dUbster
                                      So Fucking Banned
                                      • Aug 2021
                                      • 346

                                      #19
                                      I absolutely hate Gutenberg and only use classic on all my sites

                                      Comment

                                      • JesseQuinn
                                        feeding the wolves
                                        • Aug 2012
                                        • 6625

                                        #20
                                        Originally posted by dUbster
                                        I absolutely hate Gutenberg and only use classic on all my sites



                                        OP, had you just googled "wordpress TypeError: Cannot read properties of undefined (reading 'decodeEntities')" you could have figured this out in 10 mins
                                        throwing molotav cocktails at the precinct

                                        Comment

                                        • notinmybackyard
                                          Confirmed User
                                          • Sep 2012
                                          • 3230

                                          #21
                                          Originally posted by JesseQuinn



                                          OP, had you just googled "wordpress TypeError: Cannot read properties of undefined (reading 'decodeEntities')" you could have figured this out in 10 mins
                                          We did. At best google seems to hate us 50% of the time. When we want different results it seems like we need to use both a different system and connection.
                                          officially retired as of March 01 2018 but still fucking around and getting into shit.

                                          Comment

                                          • Freedom6995
                                            Friends of Venus founder
                                            • Jul 2010
                                            • 1975

                                            #22
                                            https://codefaq.org/wordpress/how-to...-of-undefined/

                                            For those that wish to use Gutenberg, that is the fix.

                                            Comment

                                            • brassmonkey
                                              Pay It Forward
                                              • Sep 2005
                                              • 77396

                                              #23
                                              Originally posted by Freedom6995
                                              https://codefaq.org/wordpress/how-to...-of-undefined/

                                              For those that wish to use Gutenberg, that is the fix.
                                              well people use mac comps so....
                                              TRUMP 2026 KEKAW!!! - The Laken Riley Act Is Law!
                                              DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com

                                              Comment

                                              • JesseQuinn
                                                feeding the wolves
                                                • Aug 2012
                                                • 6625

                                                #24
                                                Originally posted by notinmybackyard
                                                We did. At best google seems to hate us 50% of the time. When we want different results it seems like we need to use both a different system and connection.
                                                huh, that's odd

                                                when I tried it just now this is what my goog results looked like:



                                                I discovered Gutenberg's level of suckage when all of a sudden the menu widgets on my most important site stopped working. maybe cuz of my own prior searches the most relevant stuff shows at the top when it comes to the issue you were having

                                                the comments I read in solutions offered for my issue were amusing; the level of dislike of Gutenberg is astoundingly high. to the point that many themes come with the classic editor preinstalled (due to demand I suppose)


                                                wp can be bossy. for ex the 6.2 update auto-updated all the plugins and my theme on one of my sites and completely broke it. took me like a day and half and much cussing to fix. so annoying

                                                anyway, glad you got it resolved
                                                throwing molotav cocktails at the precinct

                                                Comment

                                                Working...