I am experiencing a weird issue in WP dashboard with the latest version of WordPress. I think I have figured out what is happening, but I don’t know how to figure out why and how to fix it.
Whenever I am in the WP dashboard everything seems to be working fine, until I’m going into Post edit or media upload, then the whole CSS and JS breaks and I see all of the content in Times New Roman.
This issue does not happen on the test server which is running PHP 5.6.10 while the new server the site is supposed to be at, is running PHP 7.
This issue does not happen if I downgrade the WordPress version to 4.7.3.
The site is running latest WordPress (4.7.5) and the theme is OnePress 1.3.6
View source – WP dashboard: http://pasted.co/ba9b8ca5
View source – WP post edit: http://pasted.co/8c273ddd
Read more here: Latest WP breaks CSS in PHP7