• Resolved Benzavision

    (@benzavision)


    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method Bookit\Classes\Notifications::check_sender_email() cannot be called statically in /var/www/vhosts/…io/httpdocs/wp-includes/class-wp-hook.php:308 Stack trace: #0 /var/www/vhosts/….io/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #1 /var/www/vhosts/…io/httpdocs/wp-includes/pluggable.php(394): apply_filters() #2 /var/www/vhosts/…io/httpdocs/wp-content/plugins/bookit/includes/classes/Notifications.php(72): wp_mail() #3 /var/www/vhosts/…io/httpdocs/wp-content/plugins/bookit/includes/classes/Notifications.php(86): Bookit\Classes\Notifications::sent_mail() #4 /var/www/vhosts/…io/httpdocs/wp-includes/class-wp-hook.php(308): Bookit\Classes\Notifications::appointment_created() #5 /var/www/vhosts/…io/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #6 /var/www/vhosts/…io/httpdocs/wp-includes/plugin.php(517): WP_Hook->…() #7 /var/www/vhosts/….io/httpdocs/wp-content/plugins/bookit/includes/classes/AppointmentController.php(139): do_action() #8 /var/www/vhosts/….io/httpdocs/wp-includes/class-wp-hook.php(308): Bookit\Classes\AppointmentController::save() #9 /var/www/vhosts/…io/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #10 /var/www/vhosts/….io/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #11 /var/www/vhosts/…io/httpdocs/wp-admin/admin-ajax.php(188): do_action() #12 {main} thrown in /var/www/vhosts/…io/httpdocs/wp-includes/class-wp-hook.php on line 308

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @benzavision,

    Thank you for reaching out!

    Which PHP version are you using, if it is v8 can you please downgrade it to 7.4 and recheck the problem?

    If the problem persists, it is necessary to troubleshoot the issue by disabling third-party plugins and activating the default theme of WordPress (for example Twenty Twenty-One).

    Kind regards

    Thread Starter Benzavision

    (@benzavision)

    Hi, I downgraded the php and it works now, but in other providers like one.com does not support php 7.x anymore

    Thanks

    Hi, @benzavision

    We passed this request to the development department to solve this case. We will try to adapt the plugin as quickly as possible. Hope for your understanding.

    Best regards.

    i am facing this same issue with AWS lightsail, php version is 8 for all my instances, can you give a date when it will be fixed for php 8?

    Hello @imagiobox,

    Our development team has resolved the issue and currently, the QA department is conducting testing. If everything goes as planned, we will release an update within a week.

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error sending mail’ is closed to new replies.