Title: Uncaught ReferenceError: postboxes is not defined
Last modified: August 21, 2016

---

# Uncaught ReferenceError: postboxes is not defined

 *  Resolved [raphaelsimao](https://wordpress.org/support/users/raphaelsimao/)
 * (@raphaelsimao)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-postboxes-is-not-defined/)
 * Hi!
 * The plugin was working fine last week, but today we noticed that the statistics
   pages are displaying a blank page.
 * The console shows the following error:
    Uncaught ReferenceError: postboxes is
   not defined admin.php?page=wp-statistics/wp-statistics.php:322
 * We did not change a single line last week. I’ve already tired to:
 * 1. Disable all plugins. It still doesn’t work
    2. Update the plugin to the latest
   version 3. Uploaded manually all files again
 * Could you please help us fixing this issue?
 * Thank you!
 * [https://wordpress.org/plugins/wp-statistics/](https://wordpress.org/plugins/wp-statistics/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-postboxes-is-not-defined/#post-5055425)
 * Can you verify what is on line 322 in wp-statistics.php? That doesn’t seem like
   a spot where that error would come up (more likely line 389).
 * The postboxes code is part of WordPress, we just reference it.
 * If you go to the settings page, do you get the error?
 * Does the wordpress\wp-admin\js\postbox.min.js file exist on your install?
 *  Thread Starter [raphaelsimao](https://wordpress.org/support/users/raphaelsimao/)
 * (@raphaelsimao)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-postboxes-is-not-defined/#post-5055477)
 * It’s weird. Line 322 has nothing on it. It’s in the middle of the code:
 *  function wp_statistics_log_hits() {
 *  wp_statistics_log(‘hit-statistics’);
    }
 * The settings page works fine, just as Optimization, Pages, keywords.
 * But I can’t see any of the reports.
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-postboxes-is-not-defined/#post-5055487)
 * Which console?
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-postboxes-is-not-defined/#post-5055489)
 * Looking a bit more at it, “postboxes” (not “postbox”) is only used in the javascript
   code so this must be a client side error of some kind.
 * Try using a different browser.
 * You can check the page source file as well, it should have a line like:
 *     ```
       <script type='text/javascript' src='http://server/wordpress/wp-admin/load-scripts.php?c=0&load%5B%5D=hoverIntent,common,admin-bar,svg-painter,heartbeat,wp-auth-check,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sorta&load%5B%5D=ble,postbox&ver=3.9.1'></script>
       ```
   
 *  Thread Starter [raphaelsimao](https://wordpress.org/support/users/raphaelsimao/)
 * (@raphaelsimao)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-postboxes-is-not-defined/#post-5055495)
 * It’s not working in any browser
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-postboxes-is-not-defined/#post-5055523)
 * Did you check for the script on the page source?
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-postboxes-is-not-defined/#post-5055711)
 * Closing due to inactivity.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Uncaught ReferenceError: postboxes is not defined’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

## Tags

 * [plugin not working](https://wordpress.org/support/topic-tag/plugin-not-working/)

 * 7 replies
 * 2 participants
 * Last reply from: [Greg Ross](https://wordpress.org/support/users/gregross/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-postboxes-is-not-defined/#post-5055711)
 * Status: resolved