Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] Fatal PHP error for non-admin users

  • Resolved jmozen

    (@jmozen)


    Hi there –

    I’m getting the PHP out of memory error, but only for non-admin users:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 75 bytes) in /***/htdocs/wordpress/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCacheAdmin.php on line 5682

    I don’t have access to the php.ini file at this hosting provider, so I’ve tried increasing the PHP memory from 32M to 64M in the wp-config file and in the .htaccess file, but neither option is making a difference.

    Everything works fine as long as I’m logged in as the admin user, but I wanted to create an account with editor level access for my client.

    Any suggestions?

    Thanks in advance for any help!!!

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jmozen

    (@jmozen)

    I finally found a solution that works …

    Add these two lines to wp-settings.php:

    define(‘WP_MEMORY_LIMIT’, ’64M’);
    ini_set(“memory_limit”, “64M”);

    I’m not sure why I was still having trouble after increasing the PHP memory limit using the wp-config.php file or the .htaccess file, but this one worked.

    thanks for this info 🙂 got this similar issue as well after doing an update to the latest built a few minutes ago.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: W3 Total Cache] Fatal PHP error for non-admin users’ is closed to new replies.