Opened 8 years ago
Closed 8 years ago
#45158 closed defect (bug) (fixed)
JavaScript error when editing posts
| Reported by: | pento | Owned by: | pento |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.0 |
| Component: | Editor | Version: | 5.0 |
| Severity: | normal | Keywords: | fixed-5.0 |
| Cc: | Focuses: | javascript |
Description
We've had a few reports of this error showing up when editing posts:
TypeError: Cannot read property ‘length’ of undefined at i (http://wpguida2.wpabc.it/wp-includes/js/dist/date.min.js?ver=5.0-alpha-43816:1:3777) at d (http://wpguida2.wpabc.it/wp-includes/js/dist/date.min.js?ver=5.0-alpha-43816:1:4419) at http://wpguida2.wpabc.it/wp-includes/js/dist/editor.min.js?ver=5.0-alpha-43816:55:210644 at Ug (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:90:242) at Vg (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:92:379) at Kf (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:118:136) at Lf (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:118:472) at jc (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:127:342) at aa (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:126:505) at Rf (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:138:435)
Change History (8)
#5
@
8 years ago
- Keywords needs-patch removed
The nightly build has been updated with this fix.
http://wordpress.org/nightly-builds/wordpress-5.0-latest.zip
#6
@
8 years ago
- Keywords fixed-5.0 added
- Resolution fixed
- Status closed → reopened
Reopening for trunk.
#7
in reply to: ↑ description
@
8 years ago
Hello, I've tried to reproduce the problem, but everything seems fine on my end.It's tested on the latest SVN version when trying to edit/update/save existing post.
TypeError: Cannot read property ‘length’ of undefined at i (http://wpguida2.wpabc.it/wp-includes/js/dist/date.min.js?ver=5.0-alpha-43816:1:3777) at d (http://wpguida2.wpabc.it/wp-includes/js/dist/date.min.js?ver=5.0-alpha-43816:1:4419) at http://wpguida2.wpabc.it/wp-includes/js/dist/editor.min.js?ver=5.0-alpha-43816:55:210644 at Ug (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:90:242) at Vg (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:92:379) at Kf (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:118:136) at Lf (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:118:472) at jc (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:127:342) at aa (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:126:505) at Rf (http://wpguida2.wpabc.it/wp-includes/js/dist/vendor/react-dom.min.js?ver=5.0-alpha-43816:138:435)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)

I've tried to edit post/page and getting same error.