Title: Error getting classes
Last modified: August 22, 2016

---

# Error getting classes

 *  Resolved [liarphoto](https://wordpress.org/support/users/liarphoto/)
 * (@liarphoto)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-getting-classes/)
 * Thanks Mikeill so much for making this plugin!
 * I have both SOAP and PEAR running and added the css that was recommended in the
   installation, but when I use the shortcode to call the schedule, I get this message:
 * Error getting classes. Try re-loading the page.
    Array ( [GetClassesResult] =
   > Array ( [Status] => Success [ErrorCode] => 200 [XMLDetail] => Full [ResultCount]
   => 0 [CurrentPageIndex] => 0 [TotalPageCount] => 0 [Classes] => Array ( )
 *  )
 * )
 * Have you seen this before? I am thinking it could possibly be in conflict with
   another plugin I am running?
 * thanks,
 * [https://wordpress.org/plugins/mz-mindbody-api/](https://wordpress.org/plugins/mz-mindbody-api/)

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/error-getting-classes/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-getting-classes/page/2/?output_format=md)

 *  Plugin Author [mikeill](https://wordpress.org/support/users/mikeill/)
 * (@mikeill)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604595)
 * I haven’t seen this error yet. Have you tried disabling other plugins to test
   for conflict?
 *  [jackiehall](https://wordpress.org/support/users/jackiehall/)
 * (@jackiehall)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604602)
 * I’m also having this problem. It started after updating to the newest wordpress.
 *  Plugin Author [mikeill](https://wordpress.org/support/users/mikeill/)
 * (@mikeill)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604604)
 * looking into it…
 *  Plugin Author [mikeill](https://wordpress.org/support/users/mikeill/)
 * (@mikeill)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604611)
 * I was unable to duplicate the problem, but made some changes to the plugin which
   _might_ address. Try updating the plugin when the new version becomes available
   and please report back.
 * Let’s resolve this.
 *  Thread Starter [liarphoto](https://wordpress.org/support/users/liarphoto/)
 * (@liarphoto)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604641)
 * Hi Mikeill,
 * Thanks for looking into this. I tred disabling all other plugins and upgrading
   MZ but still get:
    Error getting classes. Try re-loading the page. Array ( [GetClassesResult]
   => Array ( [Status] => Success [ErrorCode] => 200 [XMLDetail] => Full [ResultCount]
   => 0 [CurrentPageIndex] => 0 [TotalPageCount] => 0 [Classes] => Array ( )
 *  )
 * )
 * Could just be a conflict with my theme I suppose.
 * Thanks
 *  Plugin Author [mikeill](https://wordpress.org/support/users/mikeill/)
 * (@mikeill)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604643)
 * Yes do check for theme conflict as well but first, are you using the current 
   version of the plugin, 1.5?
 *  Thread Starter [liarphoto](https://wordpress.org/support/users/liarphoto/)
 * (@liarphoto)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604664)
 * Good News! – sort of…
 * Yes using the current version, wasn’t working but now is (upgraded all in on 
   seo not sure if that had anything to do with it).
 * I did notice the dates are not coming through though just the time, class name,
   type and instructor.
 * I also had to add a row title for time, see link and you can see that the date’s
   are not populating. Thanks for your responses.
 * [http://fourelementsfitness.com/schedule/](http://fourelementsfitness.com/schedule/)
 *  Plugin Author [mikeill](https://wordpress.org/support/users/mikeill/)
 * (@mikeill)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604665)
 * just pushed through version 1.6, which should address the issues. (and adds a
   widget and type=day feature)
 *  Thread Starter [liarphoto](https://wordpress.org/support/users/liarphoto/)
 * (@liarphoto)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604666)
 * Thanks Mikeill for all your hard work!
 * Works like a charm. I went to your site because I want to send you a paypal donation,
   didn’t see a button. Do you accept them?
 *  Plugin Author [mikeill](https://wordpress.org/support/users/mikeill/)
 * (@mikeill)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604667)
 * That would be sweet as pie, man. I just added a paypal donate button in the sidebar.
   
   [http://www.mzoo.org/](http://www.mzoo.org/)
 *  Plugin Author [mikeill](https://wordpress.org/support/users/mikeill/)
 * (@mikeill)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604678)
 * marking as resolved.
 *  [hamedhemmati](https://wordpress.org/support/users/hamedhemmati/)
 * (@hamedhemmati)
 * [11 years ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604712)
 * I have the 1.6 and I am getting the same error message.
 *  Plugin Author [mikeill](https://wordpress.org/support/users/mikeill/)
 * (@mikeill)
 * [11 years ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604713)
 * Have you tried with all other plugins disabled and a WordPress core theme like
   TwentyThirteen, Twentyfourteen? What version of php?
 *  [hamedhemmati](https://wordpress.org/support/users/hamedhemmati/)
 * (@hamedhemmati)
 * [11 years ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604714)
 * Yes I did disable all plugins and used the core theme and still couldn’t get 
   the schedule to show. PHP version is 5.3.24.
 *  Plugin Author [mikeill](https://wordpress.org/support/users/mikeill/)
 * (@mikeill)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-getting-classes/#post-5604717)
 * two things to try:
    1. change your client id to ‘-99’, the mbo sandbox id
    2. open the code in `plugins/mz_mindbody_api/inc/mz_schedule.php`
 * around line 5 after `require_once MZ_MINDBODY_SCHEDULE_DIR .'inc/mz_mbo_init.
   inc';`
 * add the code:
 *     ```
       $mb->getXMLRequest();
       $mb->getXMLResponse();
       $mb->debug();
       ```
   
 * Then look on the page in which you have the schedule showing and see what XML
   response you are getting.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/error-getting-classes/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-getting-classes/page/2/?output_format=md)

The topic ‘Error getting classes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mz-mindbody-api_4f5356.svg)
 * [MZ Mindbody API](https://wordpress.org/plugins/mz-mindbody-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mz-mindbody-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mz-mindbody-api/)
 * [Active Topics](https://wordpress.org/support/plugin/mz-mindbody-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mz-mindbody-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mz-mindbody-api/reviews/)

 * 18 replies
 * 5 participants
 * Last reply from: [mikeill](https://wordpress.org/support/users/mikeill/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/error-getting-classes/page/2/#post-5604741)
 * Status: resolved