My media library is not working correctly when I want to upload a image i get a HTTP Error sometimes, not every time. When I look in my browser console I see multiple 503 errors and 404 errors. I dont know where they are coming from.
I tried, upping my memory limit and disabling all plugins.
Here is a screenshot of the errors in the console:
Thanks for your time!
To troubleshoot WordPress errors, you require to enable WordPress Debug, which can be done using wp-config.php.
You need to copy and paste the code in wp-config.php file shown below.
define( 'WP_DEBUG', true );
How To Debug And Log Errors In WordPress Site
Also, contact your web host.
Related
when trying to save changes, update button stays green and changes are not saved. I’ve tried every single advice I could found (cache cleaning, disabling plugins, enabling healt-check plugin). The error ‘Document already in save progress’ apeears in browser console. This issue can be reproduced only on one page (the biggest one). Also, on different hosting everything works fine.
This are the only plugins I use, and the theme is “OceanWP”:
The error in browser console:
Can you try this:
Edit wp-config.php and insert the following lines:
define( 'WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true);
define( 'WP_DEBUG_DISPLAY', false );
and check the debug log at /wp-content/debug.log afterwards.
Also try to enable the Elementor Debugger to see if there are some more detailed erros:
https://elementor.com/help/elementor-debugger/
I had a same problem and finally found the solution here :
update button not work
I was having the same issue, also I was getting an 524 error sometimes on the site, always on my browser console, for me it was related to reaching the resources limit on my hosting... Had to change to a hosting with bigger limits... I tested this by migrating my site from my current hosting to a local instance, everything worked just fine.
how are you?
My website was working well and now I'm unable to create or edit pages using elementor because the 'loading' keeps spinning and nothing happens.
I see a console error where I get /wp-admin/admin-ajax.php 500
How can I fix this? I don't know what caused it.
Thanks!
there are many reason for this. But the common one is WP memory limit issue.
To handle this, first you need to edit the wp-config.php file on your WordPress site. It is located in your WordPress site’s root folder, and you will need to use an FTP client or file manager in your web hosting control panel.
Next, you need to paste this code in wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’
define( 'WP_MEMORY_LIMIT', '256M' );
This code tells WordPress to increase the PHP memory limit to 256MB.
Once you are done, you need to save your changes and upload your wp-config.php file back to your server.
I had this problem too, I just disabled plugins one by one and I found the problem!
one of my plugins caused this problem.
my wordpress site is showing offline status.
I've done changing the htaccess, changed theme and also deactivated all of my plugins, but the problem remains. any solutions?
Try enabling the WP_DEBUG mode for more information on what exactly could be the reason behind your problem. This can be performed easily via FTP or file manager like one in cPanel, as well as from SSH. Open the wp-config.php file and find the following line:
define('WP_DEBUG', false);
Change this line of code to:
define('WP_DEBUG', true);
This will output the error message in your browser when you access your website. If there is still no output of the actual error message, you can try check the "error_log" file in the root directory of your WordPress instance.
If you provide us here with the error message, I will be glad to provide more information if possible.
I'm new to programming & I have learned how to create websites using WordPress technology. I have created a website www.popstudio.in and it was working fine before.
Recently when I try to access the website, I get the following error.
The popstudio.in page isn’t working
popstudio.in is currently unable to handle this request.
HTTP ERROR 500
I have attached a screenshot, refer screenshot
Note:
This is WordPress based website.
I have renamed the plugins folder and still the website was down.
I have renamed the themes folder still the website was down.
Common Solutions for the 500 Internal Server Error.
The two most common causes of this error are a corrupted .htaccess file and exceeding your server’s PHP memory limit.
The .htaccess file in your WordPress directory can become corrupted after you install a plugin or make another change to your WordPress site. The fix is simple. All you need to do is create a new .htaccess file.
PHP memory limit issues often occur as the result of a poorly-coded plugin running on your site or a site that’s grown considerably over time and is using too many plugins. You’ll begin to exceed the PHP memory limits set by your hosting provider once either of these things happen. The result is a 500 internal server error.
Error 500 is a very generic error message. The information you're providing is not enough for someone here to help you.
The first place you want to look at is the log file. On an Apache server it is a file called error_log in the directory of your site.
You can check if your .htaccess file is properly configured.
Otherwise get in touch with your web host support!
Good luck
Have you tried to delete (after make a backup) the .htaccess file on the root path of the site? If it work, just resaved permalinks from the back-office after that.
Most of the 500 errors on WordPress are due to a problem with this file (corrupted, rights problem ...).
Go to wp-config.php and update it
define( 'WP_DEBUG', false);
to
define( 'WP_DEBUG', true );
Make sure that once you have found your issue, to return it back to 'false'. Just as a security 'best practice'.
Hi all I am having this problem with Wordpress admin login and W3 Total Caching.
Lets start from the beginning. When I visit the website it appears to be working just fine.
When I try to login on the Wordpress admin page it returns me a blank page. No errors nothing just a blank page.
This is not the first time it happens, so I called my hostings provider to check if anything is going on with the servers. So we solved the problem last time by just rebooting the server. That worked website was running again and could login in to wp admin area.
Now today same thing happens again. We did some research my hostings provider comes up with this error from wordpress.
mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 64 bytes) in /public_html/wp-includes/functions.php on line 3559.
I have no idea what this problem is and where it comes from.
Probably this is not the only problem with this site. We are also using W3 Total Caching for this site. Are there any issue's know with this plug-in that can make the server do strange things?
Kind regards
Using
define( 'WP_DEBUG', true );
is definitely the way to go.
We had recently removed a cacheing plugin but it had left behind some pieces of code in wp-settings that needed removing.
The fact that the wp-login page is blank means there's a code error somewhere (probably in a recently added/updated plugin). If you can, FTP onto your server, go to wp-content/plugins/, rename a directory that holds the contents of a plugin, then refresh your login page.
Once it loads, the directory you've just renamed is the one causing problems. Rename all of the other plugin directories to what they were previously, and either find an alternative plugin, or attempt to fix the plugin yourself if you know PHP.
The blank page means there's a server error, check the error logs, or add the following line to your wp-config.php file to get them to show on screen.
define( 'WP_DEBUG', true );
That will show you the errors so you can start debugging.
Create a phpinfo.php file with only this line of code
<?php phpinfo(); ?>
Upload the file to your server using an FTP Program (e.g FileZilla).
Look for the value of memory_limit.
If that value is lower than 64M, you should increase it to 92M (or 128M).
According to the WordPress documentation, here are some ways to change this:
Increase the amount of memory a PHP script may consume.
Note: If using a shared hosting service, you may need to ask your host to increase the limit.
Increase the memory limit setting in php.ini (e.g. memory_limit = 128M ;).
Increase the memory limit via .htaccess (e.g. php_value memory_limit 128M).
Increase the memory limit via wp-config.php (e.g. define('WP_MEMORY_LIMIT', '128MB');)
Check if it works.