(AllHipHop News) A judge in Philadelphia has ordered rapper Meek Mill to attend etiquette classes, based on his actions in court, in public and on social networks.

Meek Mill must take the classes by August, as part of his court-ordered probation, Common Pleas Judge Genece Brinkley said recently.

Judge Brinkley said Meek, who is on probation for a 2008 conviction for drug dealing and gun possession, has "a lot of issues."

The rapper appeared at his latest probation hearing, where Judge Brinkley and prosecutors said that his posts on social networks, as well as his conduct in public, could "affect his freedom."

The judge apparently received threats from fans of Meek Mill, after the rapper posted several inflammatory messages.

Additionally, Judge Brinkley and prosecutors claimed that Meek continued to travel without permission from his probation officer.

Meek Mill, who is recording a new album and going on a court approved tour, must take the etiquette classes by August 4.