Title: Code is inaccessible with WP4.6
Last modified: September 1, 2016

---

# Code is inaccessible with WP4.6

 *  [lencw](https://wordpress.org/support/users/lencw/)
 * (@lencw)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/code-is-inaccessible-with-wp46/)
 * Getting Statcounter code is inaccessible warning emails and a yellow boxed message
   in Statcounter admin panel. Not changed the statcounter code.
    Have tried deleting
   and re-installing the plugin, still not fixed. Also tried code in header instead
   of footer, still not fixed. This has been working for a long time.
 * [https://wordpress.org/plugins/official-statcounter-plugin-for-wordpress/](https://wordpress.org/plugins/official-statcounter-plugin-for-wordpress/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [lencw](https://wordpress.org/support/users/lencw/)
 * (@lencw)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/code-is-inaccessible-with-wp46/#post-7697472)
 * The websites where this happens also have the Autoptimize caching plugin installed,
   but with the javascript optimisation turned off. This combination has been fine.
   I cleared the cache and the statcounter code became visible again, only for a
   very short time. De-activating the Autoptimize plugin makes no difference, still
   fails.
    I also have the Wordfence plugin installed, clearing the cache of that
   again makes no difference.

Viewing 1 replies (of 1 total)

The topic ‘Code is inaccessible with WP4.6’ is closed to new replies.

 * ![](https://ps.w.org/official-statcounter-plugin-for-wordpress/assets/icon.svg?
   rev=1988081)
 * [StatCounter - Free Real Time Visitor Stats](https://wordpress.org/plugins/official-statcounter-plugin-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/official-statcounter-plugin-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/reviews/)

## Tags

 * [statcounter](https://wordpress.org/support/topic-tag/statcounter/)

 * 1 reply
 * 1 participant
 * Last reply from: [lencw](https://wordpress.org/support/users/lencw/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/code-is-inaccessible-with-wp46/#post-7697472)
 * Status: not resolved