简体   繁体   中英

Woocommerce cannot see products in wp-admin

I have a problem with the wp-admin interface in woo-commerce. I have around 14k products and they show up when I browse the website as a user, but I cannot see or modify them in wp-admin -> products . It says 14k products found but nothing is showed.

I have disabled every plugin apart from Woo-commerce and I have selected the default theme and nothing changes. I have no idea what else to do... I have not overridden Woo-commerce pages or functions.

PS: I am using WordPress 4.1 and Woo-commerce 2.2.10

For anyone having the same problem, I found the solution. Because I have too many products, the page timeout was reached and it stopped loading, without saying so.

The solution is divided in two. First, you need to change the php.ini file and add the following line: memory_limit = 4096M for 4 GB. If you use Cpanel, you can do this directly from WHM interface.

The second step is adding this line to wp-config.php, before including wp-settings.php: define( 'WP_MAX_MEMORY_LIMIT', '256M' );

I hope this helps :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM