(Using MODX Evolution 1.0.12 and mxCalendar 0.1.3-plb)
I got the mxCalendar Extra installed (Manager and Snippet.) I logged out, then back in. I added 2 events.
I then tried to create a page and display the calendar, (not the Ajax one, I don't understand that yet, just the simple one), using
[!mxcalendar?!]
After I Save and Publish, and then try to Preview, I get a parse error. I have no idea what to do next. Can anyone help?
Thanks in advance,
Dennis
(the parse error returned)
« MODX Parse Error »
MODX encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error : Invalid argument supplied for foreach()
ErrorType[num] : WARNING[2]
File : /home1/duluthco/public_html/modxevo/assets/modules/mxCalendar/includes/calendar.inc.php
Line : 454
Source : foreach($dyn_config_opts AS $cft){
Basic info
REQUEST_URI : /modxevo/index.php?id=49
Resource : [49]CalendarTest1
Current Snippet : mxcalendar
Referer : http://duluthcommunitygarden.org/modxevo/manager/index.php?a=3&id=49
User Agent : Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0
IP : 68.115.81.46
Benchmarks
MySQL : 0.0057 s (5 Requests)
PHP : 0.0529 s
Total : 0.0586 s
Memory : 4.40579986572 mb
Backtrace
1 DocumentParser->executeParser()
index.php on line 140
2 DocumentParser->prepareResponse()
manager/includes/document.parser.class.inc.php on line 1568
3 DocumentParser->outputContent()
manager/includes/document.parser.class.inc.php on line 1673
4 DocumentParser->parseDocumentSource()
manager/includes/document.parser.class.inc.php on line 582
5 DocumentParser->evalSnippets()
manager/includes/document.parser.class.inc.php on line 1450
6 DocumentParser->_get_snip_result()
manager/includes/document.parser.class.inc.php on line 1061
7 DocumentParser->evalSnippet()
manager/includes/document.parser.class.inc.php on line 1147
8 eval()
manager/includes/document.parser.class.inc.php on line 1005
9 mxCal_APP_CLASS->MakeCalendar()
manager/includes/document.parser.class.inc.php(1005) : eval()'d code on line 163
10 include_once()
assets/modules/mxCalendar/mxCalendar.class.php on line 1281
[ed. note: dennisleahy last edited this post 10 years, 1 month ago.]