Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP 6.4 - Front End Does Not Work On Windows Machines #54849

Closed
nick6352683 opened this issue Sep 27, 2023 · 5 comments
Closed

WP 6.4 - Front End Does Not Work On Windows Machines #54849

nick6352683 opened this issue Sep 27, 2023 · 5 comments
Assignees
Labels
OS Issues Issues or PRs that are related to OS specific problems [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release

Comments

@nick6352683
Copy link

Description

This bug was also happening during the beta phases of WP 6.3, which was eventually fixed, but the issue is back - I have a feeling it has to do with caching.

In the backend all seems ok (although I only tested it for 2-3 minutes so far), but on the front end it's a nightmarish mess - Xampp php 7.4 Windows 10, no plugins active and the newest default theme. Installed from the WP 6.4beta1 zip file.

Also tested on InstaWP using the WP Beta plugin, and everything is working as expected including my custom made hybrid theme.

With WP 6.3 the manual fix was doing the trick: In the file wp-includes/blocks/index.php file on line 49 we could change the code:

from
$files = $cached_files['files'];
to
$files = false;

Now this code is on line 65, but the old code replacement is not working with 6.4 beta1.

Step-by-step reproduction instructions

  1. Install WP 6.4 beta1 on a Windows PC
  2. See the front end.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@Mamaduka Mamaduka added Needs Testing Needs further testing to be confirmed. [Feature] Typography Font and typography-related issues and PRs OS Issues Issues or PRs that are related to OS specific problems labels Sep 27, 2023
@t-hamano
Copy link
Contributor

Thanks for the report, @nick6352683.

Looking at the code you mentioned, it might be related to the following problem we've had in the past:

I was also able to reproduce the problem on my Windows machine:

  • Fresh install WP6.3.1 using Local app
  • Intall Beta Tester Plugin
  • Update to WordPress 6.4 Nightly (WordPress 6.4-beta1-56736)
  • In the front end, some blocks are not styled

This issue was previously resolved in the following core changeset: https://core.trac.wordpress.org/changeset/56136

I'd like to find out why this problem started happening again.

@t-hamano t-hamano added [Type] Bug An existing feature does not function as intended and removed Needs Testing Needs further testing to be confirmed. labels Sep 28, 2023
@t-hamano t-hamano self-assigned this Sep 28, 2023
@bph bph moved this to Triage in WordPress 6.4 Editor Tasks Sep 28, 2023
@t-hamano t-hamano added the [Type] Regression Related to a regression in the latest release label Sep 28, 2023
@t-hamano
Copy link
Contributor

I have posted the cause and solution for this issue in a core ticket: https://core.trac.wordpress.org/ticket/59489

@nick6352683
Copy link
Author

@t-hamano , your fix works like a charm, your skills are amazing !!!

Thanks a million, I can now start testing my themes and plugins and prepare for WP 6.4...

@bph bph moved this from Triage to Needs Dev / Todo in WordPress 6.4 Editor Tasks Sep 30, 2023
@t-hamano t-hamano removed the [Feature] Typography Font and typography-related issues and PRs label Oct 2, 2023
@joemcgill
Copy link
Member

Anyone else experiencing this issue, please test and give feedback on https://core.trac.wordpress.org/ticket/59489. I've update the PR from @t-hamano in WordPress/wordpress-develop#5409.

@t-hamano
Copy link
Contributor

t-hamano commented Oct 5, 2023

Thank you for improving the patch and committing to core, @joemcgill!

I've confirmed that this issue has been resolved in the latest WordPress trunk, so I'd like to close this issue.

Test Report

  • Use Local App on my Windows 11 machine
  • Updated to WordPress 6.4 Beta 2 via the Beta Teter plugin
  • The problem is reproduced with TT2, TT3, TT4 theme
  • Updated to WordPress 6.4 nightly (WordPress 6.4-beta2-56785) via the Beta Teter plugin
  • The problem is NOT reproduced with TT2, TT3, TT4 theme

@t-hamano t-hamano closed this as completed Oct 5, 2023
@github-project-automation github-project-automation bot moved this from Needs Dev / Todo to Done in WordPress 6.4 Editor Tasks Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS Issues Issues or PRs that are related to OS specific problems [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release
Projects
No open projects
Status: Done
Development

No branches or pull requests

4 participants