having issue with wordpress
-
I having issue with wordpress error can you assist me
-
This topic was modified 2 years, 9 months ago by
James Huff. Reason: link formatting fixed
The page I need help with: [log in to see the link]
-
This topic was modified 2 years, 9 months ago by
-
For the sake of anyone else joining the threads, the errors are:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 33554456 bytes) in /home/tysjewel/public_html/wp-includes/wp-db.php on line 2169 Deprecated: Function create_function() is deprecated in /home/tysjewel/public_html/wp-includes/plugin.php on line 443 Deprecated: Function create_function() is deprecated in /home/tysjewel/public_html/wp-includes/plugin.php on line 447
If you’re seeing this error either suddenly (no specific task was done to cause the error) or frequently, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. Hopefully, this will force the default theme to activate and rule out a theme-specific issue (theme functions can interfere like plugins).
Otherwise, 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 = 256M
2. If you cannot edit or override the system php.ini file, add
php_value memory_limit 256M
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 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. We have some recommendations at https://www.ads-software.com/hosting/
(in the above examples, the limit is set to 256MB)
they increase two time php memory…. why this error occurs? they says by virus.
its very simple issue
Re update the wordpress files from www.ads-software.com site , get new copy and replace the plugin.php file with that
try that and let me know
how tell me
So, the “create_function” problem is not a problem with plugins.php. It’s a problem with something else calling a function that’s in plugins.php. Don’t bother replacing the file. BUT, just to be sure that everything is a consistent version, go to DASHBOARD -> UPDATES and click the button to reinstall WP. It probably won’t help, but it won’t hurt.
The actual error is
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 33554456 bytes) in /home/tysjewel/public_html/wp-includes/wp-db.php on line 2169
That is, it wants to allocate 33MB (33,554,456 bytes) more to do something related to the database and there’s no more available. Your current memory maximum is 67,108,864 bytes or 64MB. Follow James’ advice, above, to increase your max memory to 256 or 512M.
memory_limit is set on 6000M
OK, then something’s wrong. ( ?? )
This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.
And see the steps I posted earlier for specifics (and links) on how to do that.
But yeah, if your site is consuming memory in excess of essentially 6 GB, you’ve got a memory leak in there somewhere, and unless your core WordPress files were edited, it’s not in those.
how i resolved this issue this error show when i upload a license able theme and replaced with old nulled theme? this any shortcut buy i has completed site design and products
https://snipboard.io/eaGCPY.jpg[Moderator note: Please, No bumping].
-
This reply was modified 2 years, 9 months ago by
Yui.
-
This reply was modified 2 years, 9 months ago by
Steven Stern (sterndata).
” i upload a license able theme and replaced with old nulled theme?”
If you’ve used a nulled theme on your site, it’s likely corrupted things. I recommend treating your site as though you’ve been hacked. Get a fresh cup of coffee, take a deep breath and carefully follow this guide. When you’re done, you may want to implement some (if not all) of the recommended security measures.
@sterndata its not hacked its having this error i have use just 2 weaks nulled theme then i buy know what i can do can i delete the theme from cpanel and upload new from scratch?bcz i dont want to remove all things from website ? someone is saying reinstall new wordpress but that will loss my data.
https://snipboard.io/eaGCPY.jpgIf you used a nulled theme then your site is likely compromised.
What happens if you try the theme TwentyTwentyOne?
@sterndata then the warning will not show.
IF the errors/warnings go away when you change the theme, the problem is with your nulled theme. If you wish to continue using that theme, buy a legititmate copy. If not, pick another theme from www.ads-software.com/themes.
-
This reply was modified 2 years, 9 months ago by
- The topic ‘having issue with wordpress’ is closed to new replies.