• Hi,

    Your plugin throws the following error on new installs, no plugin installed, with the default theme. PHP 8.3:

    [02-Mar-2026 07:41:53 UTC] PHP Fatal error:  Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, false given in /Users/pavel/Sites/htdocs/wp/wp-content/plugins/restaurant-reservations/includes/Settings.class.php:3262
    Stack trace:
    #0 /Users/pavel/Sites/htdocs/wp/wp-content/plugins/restaurant-reservations/includes/Settings.class.php(3262): array_keys(false)
    #1 /Users/pavel/Sites/htdocs/wp/wp-content/plugins/restaurant-reservations/restaurant-reservations.php(779): rtbSettings->check_location_timeslot_party_rules()
    #2 /Users/pavel/Sites/htdocs/wp/wp-includes/class-wp-hook.php(341): rtbInit->assets_footer('')
    #3 /Users/pavel/Sites/htdocs/wp/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
    #4 /Users/pavel/Sites/htdocs/wp/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
    #5 /Users/pavel/Sites/htdocs/wp/wp-includes/general-template.php(3213): do_action('wp_footer')
    #6 /Users/pavel/Sites/htdocs/wp/wp-includes/template-canvas.php(25): wp_footer()
    #7 /Users/pavel/Sites/htdocs/wp/wp-includes/template-loader.php(125): include('/Users/pavel/Si...')
    #8 /Users/pavel/Sites/htdocs/wp/wp-blog-header.php(19): require_once('/Users/pavel/Si...')
    #9 /Users/pavel/Sites/htdocs/wp/index.php(17): require('/Users/pavel/Si...')
    #10 {main}
      thrown in /Users/pavel/Sites/htdocs/wp/wp-content/plugins/restaurant-reservations/includes/Settings.class.php on line 3262

    Can you please fix it?

    I think the error goes away once I click Save Changes in the settings, but that’s not a solution.

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hi Pavel,

    Thanks for reporting this. We’ll run some tests to see what’s necessary to resolve this (if anything) and release an update, if necessary.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.