I am building a plugin in WordPress and $wpdb queries works on local, but when I upload the code to the server it doesn\'t work.
Here is the code that I\'m using: