• Resolved hofercraft

    (@hofercraft)


    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

    (@jaysupport)

    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/) as that is a feature of the ultimate version, discussion of which is prohibited here (https://www.ads-software.com/support/guidelines/#do-not-post-about-commercial-products).

    • This reply was modified 3 years, 2 months ago by jaysupport.
    Thread Starter hofercraft

    (@hofercraft)

    hi, thanks for reply. It doesn’t help, deactivate, reactivate, manual fresh upload, ..

    Plugin Support jaysupport

    (@jaysupport)

    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

    (@jaysupport)

    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

    (@hofercraft)

    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

    (@jaysupport)

    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.