A SINGLE Post Giving an “Under Maintenance” Message
A SINGLE Post Giving an “Under Maintenance” Message
A SINGLE Post Giving an “Under Maintenance” Message
Try a plugin like Query Monitor to see if there are queries or things you can identify quickly. A DB may need a log rotated or you could have some DEBUG process turned on that is logging. Backups running on your server will also have an impact. It’s something you’ll have to look into. Same … Read more
I had these exact errors. I updated all the themes and de-activated all my plugins, then re-activated them one by one. Eventually all plugins were reactivated and the errors are gone.
Looks like a bug in BoddyPress. https://wordpress.org/support/topic/warning-ksort-expects-parameter-1-to-be-array-object-given-in/ You need to update the sort method and wait for the new version.
put , in ‘order’ => ‘asc’ ‘tax_query’
Double comment blocks makes me the same problem: /* … */ */ Try to remove all commented blocks from your functions.php or included sub-functions. Clean your functions.php and add one by one function and you will find the issue. Third thing was PHP passing by reference, try to avoid it.
You need to enable the error logging in WordPress from the wp-config.php define( ‘WP_DEBUG_LOG’, true ); After that, you will probably get some feedback inside: wp-content/debug.log Above that, you can try to get the exact feedback you get from 404 page. Check the console in the inspector, and the response from te webserver. curl -I … Read more
I would suggest the following improvements for better code readability and to make it easier to maintain later. Assuming you’ve removed title from your custom post type using the following function : remove_post_type_support( ‘slider’, ‘title’ ) Now if you use name=”post_title” instead of name=”wys_slider_title” WordPress will still use it and update the post title accordingly. … Read more
maybe validate_user_storage_space is firing too early or its too late. try wrapping this function inside another function then hook second function with one of below action hook init or after_setup_theme or plugins_loaded like below. add_action( ‘init’, ‘validate_user_init’ ); //after_setup_theme plugins_loaded function validate_user_init(){ add_filter(‘wp_handle_upload_prefilter’, ‘validate_user_storage_space’, 1); add_filter(‘wp_handle_sideload_prefilter’, ‘validate_user_storage_space’, 1); } function validate_user_storage_space( $file ) { //your … Read more
Run bellow query in your MySQL: UPDATE wp_options SET option_value = replace(option_value, ‘http://’, ‘https://’) WHERE option_name=”home” OR option_name=”siteurl”; UPDATE wp_posts SET guid = replace(guid, ‘http://’,’https://’); UPDATE wp_posts SET post_content = replace(post_content, ‘http://’, ‘https://’); UPDATE wp_postmeta SET meta_value = replace(meta_value,’http://’,’https://’); Or you can Add the following code above the “That’s all, stop editing!” line in your … Read more