Title: Undefined variable $page
Last modified: March 19, 2025

---

# Undefined variable $page

 *  Resolved [a.zhary](https://wordpress.org/support/users/azhary/)
 * (@azhary)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/undefined-variable-page/)
 * After installation and activation I go to the menu item wp-admin/admin.php?page
   =simplybook-integration and get an error
   Undefined variable $page
 * `_if _(!$page) {
   $page = _isset_($_GET['sbpage']) ? sanitize_text_field($_GET['
   sbpage']) : 'main';}
 * Solution
 * `_if _(!_isset_($page)) {
   $page = _isset_($_GET['sbpage']) ? sanitize_text_field(
   $_GET['sbpage']) : 'main';}

Viewing 1 replies (of 1 total)

 *  Plugin Support [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/undefined-variable-page/#post-18456558)
 * Hi [@azhary](https://wordpress.org/support/users/azhary/),
 * Thank you for the heads-up; please accept our apologies for the somewhat delayed
   response here.
 * This warning will be fixed in the upcoming release of the plugin.
 * If you have any further questions about this in the meantime, feel free to let
   us know.
 * Kind regards, Jarno

Viewing 1 replies (of 1 total)

The topic ‘Undefined variable $page’ is closed to new replies.

 * ![](https://ps.w.org/simplybook/assets/icon-256x256.png?rev=3065290)
 * [SimplyBook.me - Booking and reservations calendar](https://wordpress.org/plugins/simplybook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simplybook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simplybook/)
 * [Active Topics](https://wordpress.org/support/plugin/simplybook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simplybook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simplybook/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/undefined-variable-page/#post-18456558)
 * Status: resolved