We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4628
    • 58 Posts
    Hi!

    I've another example for a parse error after the Evo 1.0.9 upgrade. This error message is shown when I enter the domain name (concerns only the home page). The other pages of the sites are ok:

    Undefined property: DocumentParser::$mstart
    « 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 :	/var/www/user/html/abc.de/assets/snippets/ditto/classes/ditto.class.inc.php
    Line :	1042
    Source :	 foreach ($_GET as $param=>$value) {
    Basic info
    REQUEST_URI :	/
    Resource :	[1]Home
    Current Snippet :	Ditto
    Referer :	http://www.abc.de/index.html
    User Agent :	Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31
    IP :	188.174.0.246
    Parser timing
    MySQL :	0.0022 s (9 Requests)
    PHP :	0.0345 s
    Total :	0.0367 s
    
    Backtrace
    
    1	executeParser()
    index.php on line 133
    2	prepareResponse()
    manager/includes/document.parser.class.inc.php on line 1286
    3	outputContent()
    manager/includes/document.parser.class.inc.php on line 1377
    4	parseDocumentSource("<!DOCTYPE html PUBLIC -//W3C/...")
    manager/includes/document.parser.class.inc.php on line 484
    5	evalSnippets("<!DOCTYPE html PUBLIC -//W3C/...", "<!DOCTYPE html PUBLIC -//W3C/...")
    manager/includes/document.parser.class.inc.php on line 1178
    6	_get_snip_result("<!DOCTYPE html PUBLIC -//W3C/...", "<!DOCTYPE html PUBLIC -//W3C/...", "Ditto? &id=`extended` &p...")
    manager/includes/document.parser.class.inc.php on line 866
    7	evalSnippet("<!DOCTYPE html PUBLIC -//W3C/...", "<!DOCTYPE html PUBLIC -//W3C/...", "Ditto? &id=`extended` &p...", "/* Description: * Aggregat...")
    manager/includes/document.parser.class.inc.php on line 950
    8	eval()
    manager/includes/document.parser.class.inc.php on line 821
    9	render("<!DOCTYPE html PUBLIC -//W3C/...", "<!DOCTYPE html PUBLIC -//W3C/...", "Ditto? &id=`extended` &p...", "/* Description: * Aggregat...", "<div class=block clearfix>...", "", "createdon", "%d.%m.%Y, %H:%M", "1", "0")
    manager/includes/document.parser.class.inc.php(821) : eval()'d code on line 1026
    10	call_user_func("<!DOCTYPE html PUBLIC -//W3C/...", "<!DOCTYPE html PUBLIC -//W3C/...", "Ditto? &id=`extended` &p...", "/* Description: * Aggregat...", "<div class=block clearfix>...", "", "createdon", "%d.%m.%Y, %H:%M", "1", "0")
    assets/snippets/ditto/classes/ditto.class.inc.php on line 313
    11	makeLinks("<!DOCTYPE html PUBLIC -//W3C/...", "<!DOCTYPE html PUBLIC -//W3C/...", "Ditto? &id=`extended` &p...", "/* Description: * Aggregat...", "<div class=block clearfix>...", "", "createdon", "%d.%m.%Y, %H:%M", "1", "0")
    on line
    12	tagLinks("<!DOCTYPE html PUBLIC -//W3C/...", "<!DOCTYPE html PUBLIC -//W3C/...", "Ditto? &id=`extended` &p...", "/* Description: * Aggregat...", "<div class=block clearfix>...", "", "createdon", "%d.%m.%Y, %H:%M", "1", "0", ",", "15", "html")
    assets/snippets/ditto/extenders/tagging.extender.inc.php on line 265
    13	buildURL("<!DOCTYPE html PUBLIC -//W3C/...", "<!DOCTYPE html PUBLIC -//W3C/...", "Ditto? &id=`extended` &p...", "/* Description: * Aggregat...", "<div class=block clearfix>...", "", "createdon", "%d.%m.%Y, %H:%M", "1", "0", ",", "15", "html", "tags=Webdesign&start=0", "15")
    assets/snippets/ditto/extenders/tagging.extender.inc.php on line 319



    What can I do to fix this? Thanks for your help!!
      • 4628
      • 58 Posts
      When I enter www.abc.de/index.html, the home page is shown properly. Only www.abc.de causes this problem. I did not modify the .htaccess.