get_home_path() returning error 500
get_home_path() returning error 500
get_home_path() returning error 500
Check that wp-includes is excluded for index in robots.txt User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/
wp_generate_attachment_metadata generates 503 Service Unavailable or 500 timeout errors
Does wordpress have any built-in settings for doing this? Most likely your host will have an option on your cPanel for custom Error pages. Something along the lines of: If that is not the case, please have a look at this older question: How to create custom 401, 403 and 500 error pages? EDIT 1: … Read more
Put this code in function.php. create custom section in customizer for logo : <?php add_action(‘customize_register’, ‘theme_footer_customizer’); function theme_footer_customizer($wp_customize){ //adding section in wordpress customizer $wp_customize->add_section(‘footer_settings_section’, array( ‘title’ => ‘Footer Text Section’ )); //adding setting for footer logo $wp_customize->add_setting(‘footer_logo’); $wp_customize->add_control(new WP_Customize_Upload_Control($wp_customize,’footer_logo’,array( ‘label’ => ‘Footer Logo’, ‘section’ => ‘footer_settings_section’, ‘settings’ => ‘footer_logo’, ))); }
I did have the same issue. And I wasted enough time for the answer. At first be sure that: The ajax request isn’t failed and happens. So, check: Is acf_form_head() before get_header() and run before any html is output? Does your theme contain call to wp_head()? Does your theme contain call to wp_foot()? Are your … Read more
You can do this by editing the database via PhpMyAdmin. Go to your database’s Options table and find a row called active_plugins. You should see something like this… a:10:{ i:0;s:49:”1and1-wordpress-wizard/1and1-wordpress-wizard.php”; i:1;s:29:”acf-repeater/acf-repeater.php”; i:2;s:30:”advanced-custom-fields/acf.php”; i:3;s:45:”limit-login-attempts/limit-login-attempts.php”; i:4;s:27:”redirection/redirection.php”; i:6;s:33:”w3-total-cache/w3-total-cache.php”; i:7;s:41:”wordpress-importer/wordpress-importer.php”; i:8;s:24:”wordpress-seo/wp-seo.php”; i:9;s:34:”wpml-string-translation/plugin.php”; } You can add a new row for your plugin. You will need to know the following. … Read more
Adding this code to the top of the index.php file in your theme will return a 403 if the theme directory is accessed directly: if ( ! defined( ‘ABSPATH’ ) ) { header( ‘HTTP/1.0 403 Forbidden’ ); die(); } However, you never see that code in any theme’s index.php file, because it’s unnecessary. I only … Read more
download a copy of wordpress.zip file then unzip it, copy /wp-admin/includes/update-core.php file and overwrite the one on the problem site. that worked for me.
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