Deprecated.php Error
-
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.
-
What is the name of the theme, and where did you get it from? (To be clear,
deprecated.phpis 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.inifile, increase the memory limit. For example,memory_limit = 128M2. If you cannot edit or override the system
php.inifile, addphp_value memory_limit 128Mto your.htaccessfile.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)
My Site Is Hosted On 000webhost.com, and I uploaded the resca restaurant theme
I’m completely new, please tell me where I can find php.ini or .htaccess
.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/
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 (with more coming soon), and if you really want a free blog, try WordPress.com instead.
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
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.inifile, increase the memory limit. For example,memory_limit = 128M2. If you cannot edit or override the system
php.inifile, addphp_value memory_limit 128Mto your.htaccessfile.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)
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
I’ve deactivated the plugins, and the customize screen opened.
Thanks, will you please help me when I’ll have other problem?
So, now you need to reactivate each plugin individually until you find the cause.
For separate issues, please open a new thread.
The topic ‘Deprecated.php Error’ is closed to new replies.