Opened 15 months ago
Last modified 15 months ago
#59954 new defect (bug)
Gets error 404 in preview page
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 6.4 |
Component: | Editor | Keywords: | 2nd-opinion needs-testing |
Focuses: | Cc: |
Description
In latest version of WordPress 6.4.1, we get error 404. It redirects to a undefined page.
For example link preview:
/wp-admin/post.php?post=34891&action=edit
Gets:
/wp-admin/undefined
We are using Classic Theme (GeneratePress) and we've tried with latest version of Gutenberg. But we have tried without plugins and other Theme like Twentytwenty four.
Change History (3)
#2
@
15 months ago
- Version set to 6.4
Thanks, @davidperez for bringing attention to this strange bug.
I too facing the same issue with two websites. In my case,
- Draft Post > Preview in new tab > Does not work (Redirect to Undefined page)
- Published Post > Preview in the new tab > Works
- All posts list > Preview > Works
Note: See
TracTickets for help on using
tickets.
Hi David,
Thank you for addressing the issue. Unfortunately, I am unable to replicate it despite my efforts:
I tested it in my local environment, utilizing PHP 8.1.23, MySQL 8.0.16, and WP 6.4.1.
I created several posts and navigated to http://generate.local/wp-admin/post.php?post=8&action=edit.
I activated the GeneratePress theme and Gutenberg.
Checked http://generate.local/?p=8&preview=true, and it appears to be functioning correctly.
Additionally, I tested it without GeneratePress and Gutenberg, and it still functions flawlessly in my environment.
Could you please provide further details?
Best regards.