Title: WordPress warnings
Last modified: September 8, 2021

---

# WordPress warnings

 *  Resolved [hofercraft](https://wordpress.org/support/users/hofercraft/)
 * (@hofercraft)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-warnings/)
 * can I ignore these warnings?
    activated is the current version
 *     ```
       frontend:
       Warning: foreach() argument must be of type array|object, string given in /var/www/html/wp-content/plugins/restaurant-reservations/lib/simple-admin-pages/classes/AdminPageSetting.Checkbox.class.php on line 60 
       Warning: Undefined variable $escaped in /var/www/html/wp-content/plugins/restaurant-reservations/lib/simple-admin-pages/classes/AdminPageSetting.Checkbox.class.php on line 64
   
       backend: Warning: Undefined array key "rtb-bookings" in /var/www/html/wp-content/plugins/restaurant-reservations/includes/Dashboard.class.php on line 66
   
       Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/restaurant-reservations/lib/simple-admin-pages/classes/AdminPageSetting.Checkbox.class.php:60) in /var/www/html/wp-includes/functions.php on line 6584 
   
       Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/restaurant-reservations/lib/simple-admin-pages/classes/AdminPageSetting.Checkbox.class.php:60) in /var/www/html/wp-admin/includes/misc.php on line 1310 
   
       Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/restaurant-reservations/lib/simple-admin-pages/classes/AdminPageSetting.Checkbox.class.php:60) in /var/www/html/wp-admin/admin-header.php on line 9
   
       Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/restaurant-reservations/lib/simple-admin-pages/classes/AdminPageSetting.Checkbox.class.php:60) in /var/www/html/wp-includes/pluggable.php on line 1340 
   
       Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/restaurant-reservations/lib/simple-admin-pages/classes/AdminPageSetting.Checkbox.class.php:60) in /var/www/html/wp-includes/pluggable.php on line 1343
       ```
   

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

 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-warnings/#post-14852482)
 * Hi hofer,
 * If, by ignore, you mean will they affect the functionality of the plugin for 
   you, they will not. They are related to the updated functionality to allow for
   multiple payment gateways and seem to be only be happening if the plugin updated
   automatically.
 * We will be including the necessary modification to fix these warnings in the 
   next update. In the meantime, if you deactivate and reactivate the plugin, it
   should clear them for you.
 * And, if you have any questions or issues specifically about the payment gateway
   functionality, please contact us directly via email or our site ([https://www.fivestarplugins.com/support-center/](https://www.fivestarplugins.com/support-center/))
   as that is a feature of the ultimate version, discussion of which is prohibited
   here ([https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products)).
    -  This reply was modified 4 years, 9 months ago by [jaysupport](https://wordpress.org/support/users/jaysupport/).
 *  Thread Starter [hofercraft](https://wordpress.org/support/users/hofercraft/)
 * (@hofercraft)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-warnings/#post-14852581)
 * hi, thanks for reply. It doesn’t help, deactivate, reactivate, manual fresh upload,..
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-warnings/#post-14856601)
 * In that case, until the next update is released, just roll back to version 2.2.11
   of the plugin, which was before the payment gateway options were updated.
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-warnings/#post-14859892)
 * We just released version 2.3.5 with a further fix to eliminate the warning in
   the circumstances in which it was still showing.
 *  Thread Starter [hofercraft](https://wordpress.org/support/users/hofercraft/)
 * (@hofercraft)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-warnings/#post-14864169)
 * Thanks, that solves most of the warnings. However, this one is still there:
 * `Warning: Undefined array key "rtb-bookings" in /var/www/html/wp-content/plugins/
   restaurant-reservations/includes/Dashboard.class.php on line 66`
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wordpress-warnings/#post-14868145)
 * It’s not really possible for that array key to not be found. It’s definitely 
   defined in the plugin. Unless you have something else that is interfering with
   it or changing the key to something other than rtb-bookings. And the only thing
   I can think of that might do something like that is if you had a translation 
   plugin that, for some reason, was changing it.
 * The first thing to check is, if you go to the settings page in the plugin admin,
   does it have the correct styling, or does it have no styling at all? The line
   for which you’re getting the warning relates to where the admin styling gets 
   enqueued. So, if you’re not getting any styling, that would be a good indication
   that the array key has been renamed.

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

The topic ‘WordPress warnings’ is closed to new replies.

 * ![](https://ps.w.org/restaurant-reservations/assets/icon-128x128.png?rev=2205491)
 * [Five Star Restaurant Reservations - WordPress Booking Plugin](https://wordpress.org/plugins/restaurant-reservations/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restaurant-reservations/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restaurant-reservations/)
 * [Active Topics](https://wordpress.org/support/plugin/restaurant-reservations/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restaurant-reservations/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restaurant-reservations/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/wordpress-warnings/#post-14868145)
 * Status: resolved