• Resolved liarphoto

    (@liarphoto)


    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://www.ads-software.com/plugins/mz-mindbody-api/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author mikeill

    (@mikeill)

    I haven’t seen this error yet. Have you tried disabling other plugins to test for conflict?

    I’m also having this problem. It started after updating to the newest wordpress.

    Plugin Author mikeill

    (@mikeill)

    looking into it…

    Plugin Author mikeill

    (@mikeill)

    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

    (@liarphoto)

    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

    (@mikeill)

    Yes do check for theme conflict as well but first, are you using the current version of the plugin, 1.5?

    Thread Starter liarphoto

    (@liarphoto)

    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.

    https://fourelementsfitness.com/schedule/

    Plugin Author mikeill

    (@mikeill)

    just pushed through version 1.6, which should address the issues. (and adds a widget and type=day feature)

    Thread Starter liarphoto

    (@liarphoto)

    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

    (@mikeill)

    That would be sweet as pie, man. I just added a paypal donate button in the sidebar.
    https://www.mzoo.org/

    Plugin Author mikeill

    (@mikeill)

    marking as resolved.

    I have the 1.6 and I am getting the same error message.

    Plugin Author mikeill

    (@mikeill)

    Have you tried with all other plugins disabled and a WordPress core theme like TwentyThirteen, Twentyfourteen? What version of php?

    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

    (@mikeill)

    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)
  • The topic ‘Error getting classes’ is closed to new replies.