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

---

# Uncaught ReferenceError: postboxes is not defined

 *  Resolved [marshi12](https://wordpress.org/support/users/marshi12/)
 * (@marshi12)
 * [11 years ago](https://wordpress.org/support/topic/uncaught-referenceerror-postboxes-is-not-defined-1/)
 * Hi!
 * I have the problem with overview page on this plugin, it worked nicely but for
   two weeks its showing blank page. I tried update this plugin and manualy reinstalled.
   Console shows me this error:
 * Uncaught ReferenceError: postboxes is not defined
    VM1135 admin.php?page=wp-statistics/
   wp-statistics.php:199
 *     ```
       jQuery(document).ready(function(){
       		postboxes.add_postbox_toggles(pagenow);
       	});
       ```
   
 * this is where line 199 references. I also tried to delete visitor table rows 
   but with error 403. Also I checked the page source for this script
    `<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>`
 * and only I found was this
 * `<script type='text/javascript' src='http://server/wp-admin/load-scripts.php?
   c=1&load=jquery,utils,farbtastic,json2,jquery-form&ver=3.4.2'></script>`
 * Can you please help me resolving this problem?
 * Thank you
 * [https://wordpress.org/plugins/wp-statistics/](https://wordpress.org/plugins/wp-statistics/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years ago](https://wordpress.org/support/topic/uncaught-referenceerror-postboxes-is-not-defined-1/#post-6064400)
 * This is usually caused by a PHP fatal error, check the page source and PHP logs.
 * The most common fatal error is an out of memory error. Check the Statistics->
   Optimization page and see how much memory is currently assigned to PHP and how
   much the overview is using.
 * If it is a memory issue you have two choices:
    – Increase PHP’s memory allocation–
   Delete some of your historical data.
 * See [http://php.net/manual/en/ini.core.php#ini.memory-limit](http://php.net/manual/en/ini.core.php#ini.memory-limit)
   for information about PHP’s memory limit.
 * To remove historical data you can use the Statistics->Optimization->Purging->
   Purge records older than.

Viewing 1 replies (of 1 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/)

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