mhopia
Forum Replies Created
-
Ok, thank you for the answer!
Thank you, now exceptions seem to work 🙂
In this new test install I have no other plugins installed. “Five Star Restaurant Reservations” is the only plugin installed and activated. I played with the time format in WordPress general settings and it seemed that exceptions worked for like during one page load. And then it went back to “normal” ignoring the exceptions. Weird indeed.
Edit: please ignore the time format comment. I was opening a wrong day from calendar.
- This reply was modified 6 years, 6 months ago by mhopia.
Here is couple of screenshots with the latest version. I installed a new WordPress instance with default plugins and themes. The admin page screenshot is from Chrome and the public page screenshot is from Safari which I never use so there should not be any cookies saved. I also tried it with Chrome’s incognito mode with the same result. Hope that this helps 🙂
Admin, schedule with exception: https://snipboard.io/aVdIGK.jpg
Public page, schedule not working: https://snipboard.io/7uBKno.jpgNow the PHP error log shows the message: “array_key_exists() expects parameter 2 to be array, null given in /wp-content/plugins/restaurant-reservations/includes/Permissions.class.php on line 39.
Could this be the reason why exceptions stopped working?Unfortunately, It did not fix the problem even though I upgraded the plugin to version 2.0.7. PHP version is 7.2.8. I tested the plugin on a development server and several browsers that are not logged in to WordPress admin. So far, this issue has been fixed on the production server by using the old version of the plugin. I hope you can fix the problem at some point if you can recreate it.
I downgraded the plugin to the version 1.9.0 and exceptions are working again.