WP eCommerce
[Plugin: WP e-Commerce] Admin Dashboard widgets causing Fatal error (1 post)

  1. Daiv Mowbray
    Posted 4 years ago #

    The admin dashboard is causing a fatal error:
    wpsc_dashboard_news seams to be throwing a fatal error.

    [10-Apr-2012 18:23:10 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 7680 bytes) in /public_html/domain.ca/path/wp-includes/class-simplepie.php on line 11681

    This is prevented if I deactivate (comment out) the content of the function wpsc_dashboard_news.

    To reproduce this issue you may need to add the following to your theme function file:

    // remove admin dashboard widgets for all users
    function ysc_remove_dashboard_widgets() {
    	remove_meta_box( 'dashboard_browser_nag', 'dashboard', 'normal' );
    	remove_meta_box( 'dashboard_plugins', 'dashboard', 'normal' );
    	remove_meta_box( 'dashboard_primary', 'dashboard', 'side' );
    	remove_meta_box( 'dashboard_secondary', 'dashboard', 'side' );
    add_action('wp_dashboard_setup', 'ysc_remove_dashboard_widgets' );

    I did try to trouble shoot this, but times up...



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic