We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2912
    • 315 Posts
    Just thought I’d post up that I’ve filed an issue in the google code for the above error.

    I’m getting the following error:
    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
    PHP error debug
      Error: 	array_multisort() [function.array-multisort]: Array sizes are inconsistent	 
      Error type/ Nr.: 	Warning - 2	 
      File: 	D:\Data\valbruna.co.uk\modx\assets\snippets\webloginpe\webloginpe.class.php	 
      Line: 	1218	 
      Line 1218 source: 	array_multisort($arrayMap, $listSortOrder, $typeFlag, $CompleteUserList); 	 
    Parser timing
      MySQL: 	0.1331 s	(196 Requests)
      PHP: 	0.2848 s	 
      Total: 	0.4179 s	 

    with the following snippet:
    &usersList=`Customers:default:default:company_name:ASC:webgroup(Customers)` &customFields=`company_name,company_telno,company_faxno,company_position,company_address,customer_accountref`!]

    It’s not a problem for what I want provided some details are entered to create the appropriate record at the time of registering. Just thought I’d share.