Since the last HMWP update, I’ve noticed the following errors appearing in the Apache logs:
AH01071: Got error ‘PHP message: PHP Notice: Constant WP_ROCKET_WHITE_LABEL_FOOTPRINT already defined in /wp-content/plugins/hide_my_wp/hide-my-wp.php on line 1216’
Note that I do have WpRocket enabled as a plugin and I do have their white label constant already defined in our wp-config file. It appears as though HMWP is attempting to double up on adding this feature and as a result is generating an error.
Is it possible to first validate if the white label constant is present before HMWP attempts to add it? I’d like to ensure we minimise on unnecessary errors being logged in Apache.