I've set up a new test site to try out this reservation system, and it works for the most part, and I like how it works, but as soon as I put a reservation in I get this:
Notice: Trying to get property of non-object in simplereservation_add_edit_form_submit() (line 777 of /home/sexswmni/public_html/sites/all/modules/simple_reservation/simplereservation.module).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 173 of /home/sexswmni/public_html/includes/entity.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 350 of /home/sexswmni/public_html/includes/entity.inc).
The Notice only shows up on the first one, and after that, it just gives the warnings every time the reservations page is loaded.
On the site I'm running nothing but the up to date core, the newest date module, and the beta2 version.
| Comment | File | Size | Author |
|---|---|---|---|
| reservations.jpg | 82.43 KB | iceph03nix |
Comments
Comment #1
ZZman commentedHi - I'm sorry for delay ...
I try update my server drupal core(7.24), date(7.x-2.7) and simple reservation(7.x-1.0-beta2) module for latest version but I can't reproduce your problem.
Then I instal fresh drupal site with date and simple reservation module only - and it works fine to.
I remember similar problem was maybe in some of the oldest version simple reservation module.
Please check again if you have latest recommended version.
If anybody have a same problem let me know - otherwise i will close this issue.
Comment #2
ZZman commentedComment #3
ZZman commentedThere is no response from bug finder - so closing this issue.
Comment #4
ZZman commentedComment #5
martin74 commentedi got this error reported from a safari user , i dont see it in Explorer or Firefox
Notice: Trying to get property of non-object in simplereservation_add_edit_form_submit() (line 777 of/home/xxxx/simplereservation.module)
line number 777 : 'for_uid' => $account->uid,
it seems it has something to do with the NULL value, only the safari users Writes "NULL" to the database for_uid
others are "0"