woothemes/woocommerce — Issue #340: Memory leak + PHP notices
Author: helgatheviking
Created: 2011-12-07 01:26:57+00:00
State: open

wordpress 3.2.1
woocommerce 1.3

i was having an issue w/ the product edit screen not loading for my 'shop manager' users

wp-admin/edit.php?post_type=product

i was getting HTTP 500 internal errors, and when i turned on debug mode i got the error that PHP didn't have enough memory. again this was only when logged in as shop manager and not in my normal admin account.

so i solved the memory issue by increasing the memory limit in wp_config.php

now when i load the product edit screen i see these notices repeating

Notice: Undefined index: 16 in /wp-includes/taxonomy.php on line 2806
Notice: Trying to get property of non-object in /wp-includes/taxonomy.php on line 2806

which makes me think this cyclical notice is the cause of the memory spike that was crashing my edit screen in the beginning. i've disabled all other plugins and while debugging switched to the Twenty Eleven theme.

lastly, i did have the host company rename the root folder of this WP theme install. i don't know if that would have caused any problems, but i didn't have this issue with my local installation. working on backtracing the problem....