WordPress Core is causing 500 internal server error
Please do one thing, download WordPress the same version and copy the wp-includes folder and replace the old one with this new wp-includes. Everything will work fine.
Please do one thing, download WordPress the same version and copy the wp-includes folder and replace the old one with this new wp-includes. Everything will work fine.
I would disable .htaccess and changing the permalink structure that can be found in (setting->permalinks). You’re specifically getting a 500 error and not a “Cannot connect to the Database” error? Since it sounds like a theme issue, inside of wp-config.php, set: define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’, true); so you can … Read more
website returning random 504 and 502 errors
I solved the problem by using this code. if ( ! function_exists( ‘theme_post_meta_data’ ) ) : /** * This function prints post meta data. */ function theme_post_meta_data() { printf( __( ‘<span class=”https://wordpress.stackexchange.com/questions/66059/%1$s”>Posted on </span>%2$s<span class=”%3$s”> by </span>%4$s’, ‘theme’ ), ‘meta-prep meta-prep-author posted’, sprintf( ‘<a href=”https://wordpress.stackexchange.com/questions/66059/%1$s” title=”%2$s” rel=”bookmark”><span class=”timestamp”>%3$s</span></a>’, get_permalink(), esc_attr( get_the_time() ), get_the_date() ), ‘byline’, … Read more
The correct line number for this variable in the most recent WordPress version are 207 and 209. So I guess something has mangled your files. It is impossible to answer what exactly happened without seeing that code. Look for new user accounts, and re-upload all WordPress files from the source.
Isn’t it the case that once you write up what you’ve tried, you find that one last thing to try that works? I just discovered that my admin-ajax file had 000 permissions. I reset to 644 and everything started working properly again.
My problem had to do with file permissions. Even though it looked like the permissions were correct, the index.php in the root had the permission set to 644, instead of 664. Once I changed the permission the front-end loaded. It’s a bit odd that of all files in the root, the index is the only … Read more
Check that wp-includes is excluded for index in robots.txt User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/
You’ve got an SSL certificate on the site. So start by telling people to go to https://brothas.online instead of the link above 😉 More importantly: Second go ‘Settings‘ -> ‘General‘ and set both ‘WordPress Address (URL)‘ and ‘Site Address (URL)‘ to ‘https://brothas.online‘ Then go to ‘Settings‘ -> ‘Permalinks‘ and save you settings again. This should … Read more