We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32330
    • 40 Posts
    Hello,

    I am posting because I am getting an error message with a cache PHP file and mxCalendar when I go to change months with the full page calendar layout. I am using Revo 2.2.2 pl and mxCalendar 1.1.1.

    Error Message:

    Warning: array_multisort() [function.array-multisort]: Argument #1 is expected to be an array or a sort flag in /home/public_html/modx/core/cache/includes/elements/modsnippet/14.include.cache.php on line 250



    Line of code from the snippet:

    array_multisort($date, SORT_ASC, $event, SORT_ASC, $arrEventDates);



    And my mxCalendar call:

    [[!mxcalendar? &resourceId=`23` modalView=`false`]]


    I have the calendar working great other than not being able to change months. Is this a bug or something that can be fixed by making a change to the line of the cache file.

    Thanks in advance for any insight/suggestions.

    Cheers! [ed. note: whitesphynx last edited this post 14 years, 4 months ago.]
      MODx helps me stay in the white
      • 32330
      • 40 Posts
      Well I decided to remove the conflicting line of code and it seems to have fixed the problem. I am not sure if it will effect something down the road but for now everything seems to be functioning properly.

      Cheers!
        MODx helps me stay in the white
        • 32330
        • 40 Posts
        More bug issues with mxCalendar...

        When using a JQuery slider the slider breaks on the home page when I call a short list of upcoming events.

        Also the calendar won't change months properly.

        The multi day event function also does not show over the multiple days listed in the calendar. It only shows up on the day of the start.

        Going for a more simple solution.

        Cheers!
          MODx helps me stay in the white
          • 32316
          • 387 Posts
          You know issues like this, and also the frequent problem that an extra does almost what you need but not quite make me wonder whether it is easier to just code your own solution.

          Then you go to code something and pretty soon you wonder whether someone else already did it !!!!
            • 38878
            • 255 Posts
            So frustrating. I am having the same issues, breaking my js slider, array error, repeating events fubared. Running 2.2.4 which is having its own issues with saving system settings. /sigh. This addon *looks* really nice and appears to have all the features I need. Working is another issue.