Is there any difference between below WP_Query code snippets?

There is no difference in terms of the “final” query. The former was the “old” way of querying post meta, before WP_Meta_Query was introduced with support for more complex queries. WP_Query::get_posts() now simply translates meta_key/value arguments into the new format with WP_Meta_Query::parse_query_vars(). Use whichever format you feel suits best for the task.

Using orderby with 2 meta keys

One of the options would be to sort at a database level by a dynamically calculated column. This is too complex for me. Having your task on production I would probably create a third meta key: ‘division’ derivated from the two and update its value on every post save. Then I would sort by this … Read more

WP_Query with MetaQuery issue

You may want to try adding the ‘RELATION’ => parameter into your meta query array so that you can encompass all of your meta values. Something like this: $v_args = array( ‘post_type’ => ‘loads_available’, ‘s’ => “Post Name”, ‘meta_query’ => array( ‘relation’ => ‘AND’, array( ‘key’ => ‘type_of_load’, ‘value’ => “Frozen”, ‘compare’ => ‘=’, ), … Read more

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