I got this warning when browsing the event from the Joomla 2.5 site. I import the data from our old 1.5 site (DT version 2.7.17) into the 2.5 site (DT version 2.8.4) using phpmyadmin
Warning: Invalid argument supplied for foreach() in xxx/administrator/components/com_dtregister/lib/dtview.php on line 570
Warning: implode() [function.implode]: Invalid arguments passed in xxx/administrator/components/com_dtregister/views/event/tmpl/list.php on line 73
Warning: Invalid argument supplied for foreach() in xxx/administrator/components/com_dtregister/lib/dtview.php on line 489
I can see the event list on the admin. Just with the extra warning from above. I wonder whether that is problem with my import.
Actually, it looks like I didn't sync group for the permission so as the warning. After sync group, the warning go away.
So basically, below 2 steps are very IMPORTANT.
6. Go to DT Register Permissions. FIRST, click "Sync Groups". This will sync your Joomla User Groups with the DT Register Permissions matrix. Then set permissions as desired.
7. Open each of your DT Register categories, set the access level and re-save them.
Also for the group permission, I thought I am logging in as "admin" so the group should be administrator. It turns out the admin is "Super Users". Don't know whether that is because of 1.5->2.5 migration. But something people can keep in mind.