Support » Plugin: Booking Ultra Pro Appointments Booking Calendar Plugin » wordpress 5.5 compatibility issue

  • Hi,

    I have found a wordpress 5.5 compatibility issue blocking me from upgrading our production site to wordpress 5.5 and latest booking ultra pro version:

    When Booking Ultra Pro is trying to send out E-Mails after test user submits the booking form wordpress is showing a fatal error message. I have enabled the E-Mail setting “Send all Booking Ultra emails via SMTP” and email sending was working fine before upgrade to WP 5.5. and Booking Ultra Pro 1.0.81. All caching plugins where disabled for testing.

    When enabling Debug mode wordpress shows following lines, indicating that there might be some code changes necessary to support wordpress 5.5:

    Deprecated: class-phpmailer.php is deprecated since version 5.5.0! Use wp-includes/PHPMailer/PHPMailer.php instead. The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. in /var/www/test-site/html/wp-includes/functions.php on line 4963
    Deprecated: class-smtp.php is deprecated since version 5.5.0! Use wp-includes/PHPMailer/SMTP.php instead. The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. in /var/www/test-site/html/wp-includes/functions.php on line 4963
    Fatal error: Cannot declare class PHPMailer\PHPMailer\SMTP, because the name is already in use in /var/www/test-site/html/wp-includes/PHPMailer/SMTP.php on line 30
    There has been a critical error on your website.

    Could you please have a look at this issue?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Plugins Area



    We are updating to plugin ASAP in order to make it 100% compatible with the new version of WP.



    any news on this issue? I am still not able to update to wordpress 5.5. Do I need to search for a still supported booking system?

    Plugin Author Plugins Area



    Thank you for your post.

    The new version is almost ready, it uses the new PHPMailer.

    We hope to release it right today



    This plugin is seriously broken. When is that update coming? You said you were releasing it today (but that was almost 3 weeks ago…)

    Hi again,

    also with 1.0.86 the issue is not fixed when using build-in SMTP settings.

    Please update bookingultra.messaging.php again. You forgot to adopt path to smtp php file like already done for phpmailer. It can be fixed by following diff:

    diff  bookingultra.messaging.php_new bookingultra.messaging.php_1.0.86
    <                               require_once ABSPATH . WPINC . '/PHPMailer/SMTP.php';
    <                               require_once ABSPATH . WPINC . '/PHPMailer/Exception.php';
    <                               $phpmailer = new PHPMailer\PHPMailer\PHPMailer( true );
    >                               require_once ABSPATH . WPINC . '/class-smtp.php';
    >                               $phpmailer = new PHPMailer( true );

    After applying those changes booking ultra pro is sending again emails on wordpress 5.6

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.