Title: Deprecated.php Error
Last modified: August 31, 2016

---

# Deprecated.php Error

 *  Resolved [devsamal03](https://wordpress.org/support/users/devsamal03/)
 * (@devsamal03)
 * [10 years ago](https://wordpress.org/support/topic/deprecatedphp-error-2/)
 * Hi There, I’m Dev Samal,
 * Today I Uploaded A Theme and when I tried to customize the theme, I got this 
   error;
 * Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate
   7680 bytes) in /home/a4626905/public_html/wp-admin/includes/deprecated.php on
   line 133
 * Please Someone help me getting out of this problem.

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years ago](https://wordpress.org/support/topic/deprecatedphp-error-2/#post-7345558)
 * What is the name of the theme, and where did you get it from? (To be clear, `
   deprecated.php` is not necessarily what caused the error. It’s the drop of water
   that caused the cup to overflow, but not necessarily what filled the cup to the
   edge, which is likely the theme.)
 * Additionally, here are three ways to increase PHP’s memory allocation:
 * 1. If you can edit or override the system `php.ini` file, increase the memory
   limit. For example, `memory_limit = 128M`
 * 2. If you cannot edit or override the system `php.ini` file, add `php_value memory_limit
   128M` to your `.htaccess` file.
 * 3. If neither of these work, it’s time to ask your hosting provider to temporarily
   increase PHP’s memory allocation on your account. Keep in mind that most decent
   hosting providers allocate 64 MB to PHP under each account, and most decent hosting
   providers allow users to temporarily increase the memory allocation. If your 
   hosting provider won’t accommodate you, perhaps it’s time to find a new hosting
   provider.
 * (in the above examples, the limit is set to 128MB)
 *  Thread Starter [devsamal03](https://wordpress.org/support/users/devsamal03/)
 * (@devsamal03)
 * [10 years ago](https://wordpress.org/support/topic/deprecatedphp-error-2/#post-7345559)
 * My Site Is Hosted On 000webhost.com, and I uploaded the resca restaurant theme
 *  Thread Starter [devsamal03](https://wordpress.org/support/users/devsamal03/)
 * (@devsamal03)
 * [10 years ago](https://wordpress.org/support/topic/deprecatedphp-error-2/#post-7345560)
 * I’m completely new, please tell me where I can find php.ini or .htaccess
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years ago](https://wordpress.org/support/topic/deprecatedphp-error-2/#post-7345562)
 * .htaccess will be in the same directory as the wp-login.php file, but you may
   need to configure your FTP client or hosting account’s file manger to display
   invisible/hidden files.
 * Consult your hosting provider’s documentation (or support department) for specifics
   on that, as specifics vary greatly between them.
 * If the the problem only appears when the theme is active, you’ll need to report
   it to the theme’s support channel: [https://thimpress.com/forums/forum/resca/](https://thimpress.com/forums/forum/resca/)
 * Additionally, we typically don’t recommend free hosting providers around here,
   as they often offer crippled servers that prevent WordPress from functioning 
   properly.
 * There are a [recommended hosting provider](https://wordpress.org/hosting/) (with
   more coming soon), and if you really want a free blog, try [WordPress.com](https://wordpress.com/)
   instead.
 *  Thread Starter [devsamal03](https://wordpress.org/support/users/devsamal03/)
 * (@devsamal03)
 * [10 years ago](https://wordpress.org/support/topic/deprecatedphp-error-2/#post-7345563)
 * before activating the theme, I clicked live preview and I got this:
 * Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate
   7680 bytes) in /home/a4626905/public_html/wp-admin/includes/deprecated.php on
   line 20
 * And After Activating The Theme, I am Getting This:
 * Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate
   7680 bytes) in /home/a4626905/public_html/wp-admin/includes/deprecated.php on
   line 133
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years ago](https://wordpress.org/support/topic/deprecatedphp-error-2/#post-7345565)
 * Ok, try deactivating all plugins. If that resolves the issue, reactivate each
   one individually until you find the cause.
 * If that does not resolve the issue, here are three ways to increase PHP’s memory
   allocation:
 * 1. If you can edit or override the system `php.ini` file, increase the memory
   limit. For example, `memory_limit = 128M`
 * 2. If you cannot edit or override the system `php.ini` file, add `php_value memory_limit
   128M` to your `.htaccess` file.
 * 3. If neither of these work, it’s time to ask your hosting provider to temporarily
   increase PHP’s memory allocation on your account. Keep in mind that most decent
   hosting providers allocate 64 MB to PHP under each account, and most decent hosting
   providers allow users to temporarily increase the memory allocation. If your 
   hosting provider won’t accommodate you, perhaps it’s time to find a new hosting
   provider.
 * (in the above examples, the limit is set to 128MB)
 *  Thread Starter [devsamal03](https://wordpress.org/support/users/devsamal03/)
 * (@devsamal03)
 * [10 years ago](https://wordpress.org/support/topic/deprecatedphp-error-2/#post-7345567)
 * I found the .htaccess but it doesn’t contain php_value_memory_limit, I contains:
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 * # END WordPress
 *  Thread Starter [devsamal03](https://wordpress.org/support/users/devsamal03/)
 * (@devsamal03)
 * [10 years ago](https://wordpress.org/support/topic/deprecatedphp-error-2/#post-7345570)
 * I’ve deactivated the plugins, and the customize screen opened.
 * Thanks, will you please help me when I’ll have other problem?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years ago](https://wordpress.org/support/topic/deprecatedphp-error-2/#post-7345576)
 * So, now you need to reactivate each plugin individually until you find the cause.
 * For separate issues, please open a new thread.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Deprecated.php Error’ is closed to new replies.

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [Fatal error: Allowed memory size](https://wordpress.org/support/topic-tag/fatal-error-allowed-memory-size/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/deprecatedphp-error-2/#post-7345576)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
