I get this error:
Code:
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Invalid argument supplied for foreach()
Error type/ Nr.: Warning - 2
File: /www/htdocs/fbo/assets/snippets/ditto/ditto.class.inc.php
Line: 84
Line 84 source: foreach ($modx->documentMap as $mapEntry) {
Have you applied this fix: http://modxcms.com/forums/index.php/topic,5344.msg40314.html#msg40314

Yes it’s running now but... I reuploaded the install and all the files for 0.9.2.1 and did the udpate again. Now it’s working but QuickEdit is rendering weirdly.
« 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()
Error type/ Nr.: Warning - 2
File: /www/htdocs/w00643b4/fbo/assets/snippets/ditto/ditto.class.inc.php
Line: 84
Line 84 source: foreach ($modx->documentMap as $mapEntry) {
Parser timing
MySQL: 0.0094 s s (11 Requests)
PHP: 0.1296 s s
Total: 0.1390 s s The JSON data comes now nicely and evals too if there is no html content in it. But if the content field has for example an image, it wont eval, because the " chars wont get escaped. So it will make something like:
Ok, I have incorperated the bugfix’s in this thread into a quick beta release (attached ONLY to this post).
@Doze, all of your feature requests have been implimented
"content":"Test with image:<br /><br /><img width="118" height="74" src="http://www.netguru.fi/modx/assets/images/logo.png" alt="" />"
This discussion is closed to further replies. Keep calm and carry on.