Regression – Update breaks .php page on site
-
Updated last night and users came in with problems: “Content Encoding Error” or “certificate error”
It’s a .php outside of wordpress in the website root that just loads in the wordpress headers and then uses normal html / php for the body:
<?php require_once(DIR_ROOT.'/wp-load.php'); add_action('wp_head', 'norobots', 0); function norobots() { echo (""); } get_header(); ?> .... <?php get_footer(); ?>
When I reverted to the backup and didn’t update wp-optimize things work fine.
Note that if I was logged in to wordpress admin account everything worked fine, if not logged in, it was broken.
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- You must be logged in to reply to this topic.