When I in front end "Save" an event (both when editing an existing event and creating a new event) I get the error message below. If i instead use the button "Save and close" I don't notice this error. I'm using Joomla 3.4.3 and DT Register 3.1.3b.
Array ( [1] => 62 )
Warning: array_flip() expects parameter 1 to be array, null given in /xxxx/xxxxx/public_html/test/administrator/components/com_dtregister/models/event.php on line 5030
143Array
(
[0] => Array
(
[member] => 1
[amount] => 0.00
)
Hello. We can't replicate this on our sites... and no one else has reported this at this point. Please submit a ticket with admin access to your site and we'll check it there.
Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at
www.JoomlaEmployee.com
.
FYI: we had the same issue after upgrading our Joomla to the latest version.
In our testenvironment we found out that the problem only occurred in combination with php 5.5
As downgrading to 5.4 was no option we solved it this way :
administrator\components\com_dtregister\views\event\tmpl\add.php
=> rename form id from "newDiscountCode" to "adminForm"