Title: Debug error
Last modified: June 2, 2025

---

# Debug error

 *  Resolved [Mati](https://wordpress.org/support/users/mattheus/)
 * (@mattheus)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/debug-error-54/)
 * `[02-Jun-2025 00:37:42 UTC] PHP Fatal error: Uncaught TypeError: array_keys():
   Argument #1 ($array) must be of type array, string given in/public_html/wp-content/
   plugins/opening-hours/index.php:1282 Stack trace: #0 /public_html/wp-content/
   plugins/opening-hours/index.php(1282): array_keys() #1 /public_html/wp-includes/
   class-wp-hook.php(324): we_are_open->admin_ajax() #2 /public_html/wp-includes/
   class-wp-hook.php(348): WP_Hook->apply_filters() #3 /public_html/wp-includes/
   plugin.php(517): WP_Hook->do_action() #4 /public_html/wp-admin/admin-ajax.php(
   192): do_action() #5 {main} thrown in/public_html/wp-content/plugins/opening-
   hours/index.php on line 1282`

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/debug-error-54/#post-18494066)
 * Thanks [@mattheus](https://wordpress.org/support/users/mattheus/), I will check
   for this array and fix it in the next release.
 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/debug-error-54/#post-18494085)
 * Edited and fixed, ready for the next update.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Debug error’ is closed to new replies.

 * ![](https://ps.w.org/opening-hours/assets/icon.svg?rev=2706372)
 * [We’re Open!](https://wordpress.org/plugins/opening-hours/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/opening-hours/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/opening-hours/)
 * [Active Topics](https://wordpress.org/support/plugin/opening-hours/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/opening-hours/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/opening-hours/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * Last activity: [11 months, 3 weeks ago](https://wordpress.org/support/topic/debug-error-54/#post-18494085)
 * Status: resolved