Reply To: Unable to restore deleted reservations

Thanks. Could you tell us if our way to fix it is correct?

It seems that the link generated in the dashboard was incomplete, and missing an argument.
We think we’ve fixed it by modifying the ajax.php file (line 940), modifiying the link like this :
<a href="admin.php?page=reservations&bulkArr[]=id;?>&bulk=2&easy-main-bulk=">
By the way, for the “delete permanently function”, this &easy-main-bulk= is indicated twice, the function is working nonetheless but we get these warnings

Warning: mysql_insert_id(): No such file or directory in /homepages/17/d425928775/htdocs/easyr/wp-content/plugins/easyreservations/lib/classes/reservation.class.php on line 1385

Warning: mysql_insert_id(): A link to the server could not be established in /homepages/17/d425928775/htdocs/easyr/wp-content/plugins/easyreservations/lib/classes/reservation.class.php on line 1385

So we have commented line 1385 and it seems to work fine.

Same problem occurs with the undo trash link in file easyReservations_admin_main.php line 48 but we couldn’t figure out how to correct it. If you could help us with that.