What error logs can I check to see why plugin updates are failing?

In wp-config.php, set the following (if not already set): define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’, false ); @ini_set( ‘display_errors’, 0 ); This will make sure that on the site no error is shown, however, WordPress will log all errors in debug.log file inside the /wp-content/ directory. NOTE: You must insert this … Read more

Fatal error post.php help :(

Put your code in whatever function: function whatever(){ // do stuff } add_action( ‘init’, ‘whatever’ ); Or use this to check whether user is logged in or not: if( get_current_user_id() ) { // logged in user }

Custom Shortcodes Giving error on development site

Initialize the variables first. See code below: function mbiz_tabbed_box( $atts, $content = null ) { extract( shortcode_atts( array( ‘tab1’ => ”, ‘tab2’ => ”, ‘tab3’ => ”, ‘tab4’ => ”, ‘tab5’ => ”, ), $atts ) ); $tab1_button = $tab2_button = $tab3_button = $tab4_button = $tab5_button = ”; if ($tab1) $tab1_button = ‘<li><a href=”#” title=”tab1″>’ … Read more

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