• Resolved marshi12

    (@marshi12)


    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/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Greg Ross

    (@gregross)

    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 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.