/wp-admin/admin.php: Setting 'memory_limit' makes Admin inaccessible
|Reported by:||mastermind||Owned by:|
After upgrading an older blog to 3.1, I could not enter the admin area of the site in question.
I was able to track it down to the following lines in /wp-admin/admin.php:
if ( current_user_can( 'manage_options' ) ) @ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', '256M' ) );
Commenting these lines makes WP's admin area accessible again.
Removing the @ before ini_set while having WP_DEBUG set to true doesn't throw any errors.
I have no special setup (can post vHost config, if necessary). My machine is a Ubuntu 10.04 LTS, with a distro-provided LAMP stack. The global php.ini is nothing special, either.
I have disabled all plugins, just to see. But to no avail.
For now, I can only keep these lines deactivated.
Change History (5)
comment:2 follow-up: ↓ 4 mastermind — 3 years ago
- Resolution set to duplicate
- Status changed from new to closed
- Keywords reporter-feedback close removed
- Milestone Awaiting Review deleted