Two problems that are likely related to AJAX

The problems turned out to have something to do with the sortable columns function I wrote before. Please see the function below. function cpt_date_orderby( $query ) { $orderby = $query->get( ‘orderby’ ); if( ‘date’ == $orderby ) { $query->set(‘meta_key’, ‘date’); $query->set(‘orderby’, ‘meta_value_num’); } } add_action( ‘pre_get_posts’, ‘cpt_date_orderby’ ); The problem lies in line 3 where … Read more

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