Unable to access my page or WP Admin

there might be these possibilities please check both the cases Please allow the debugging mode in your wp-config file define(‘WP_DEBUG’, false); make it true. If after enabling the debug you didn’t get any fatal error, then this problem is related to your hosting server, do check with their support.

General 500 error from the root

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

Function prints post meta data does not work [closed]

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)