[Appointments+] Error in Admin


(sorry for my bad english)

i get an Error in Admin, when i'll save the advanced-settings in the plugin Appointments+

the error message is:

Warning: is_a() expects parameter 2 to be string, object given in /var/www/web27893866/html/kimbeautylounge/wp-content/plugins/appointments/admin/pages/class-admin-settings-page.php on line 320

Warning: Cannot modify header information – headers already sent by (output started at /var/www/web27893866/html/kimbeautylounge/wp-content/plugins/appointments/admin/pages/class-admin-settings-page.php:320) in /var/www/web27893866/html/kimbeautylounge/wp-includes/pluggable.php on line 1216

  • Ash
    • WordPress Hacker

    Hello tw77

    I don’t see any related code in /wp-content/plugins/appointments/admin/pages/class-admin-settings-page.php on line 320, but I see something like this on another line:

    $is_dummy = is_a( 'Appointments_Worker', $worker ) && $worker->is_dummy();

    If you see the above line on 320, please replace with following:

    $is_dummy = is_a( $worker, 'Appointments_Worker' ) && $worker->is_dummy();

    If you don’t see that line on 320, please send me the code that you have on your line 320.

    Have a nice day!



Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.