How to fix ''http error 500''?

One of my pages (only homepage) is getting http error 500. If I refresh couple of times it goes away, but it’s a issue nevertheless.

I read and tried different solutions described in here. I also used the ‘‘define(‘WP_DEBUG’, true);’’ action and notice was this:

NTL_IDNA_VARIANT_2003 is deprecated in /www/apache/domains/ on line 23

Deprecated: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated in /www/apache/domains/ on line 24

Notice: get_bloginfo was called with an argument that is deprecated since version 2.2.0! The siteurl option is deprecated for the family of bloginfo() functions. Use the url option instead. in /www/apache/domains/ on line 4115

So what should I do to fix http error 500 ?


Hi Christopher,

It is most likely a memory limit issue. Please increase your memory limiti to at least 512M

If that doesn’t help, you can try other solution listed below


My memory limit is and has been for a long time this:

define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
define( ‘WP_MAX_MEMORY_LIMIT’, ‘512M’ );

Should I increase them both to ‘‘512M’’ or more?

One more thing, I heard that in Filezilla permissions should only be adfrw (0644) and flcdmpe (0755). In lion share i have this kind of permissions but two of my files/folders have different numbers. For example wp-config.php is adfrw (0640) and stat folder is flcdmpe (0751). Could this be the problem? If so, how to fix it?

Hi Christopher,

Yes, please set them both to 512M, and make sure the PHP version is 7.2 or greater, then update your Wordpress. The notices are about deprecated functions so maybe updating them would fix it.


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.