WPIntell

Source evidence

wordpress 5.5 compatibility issue

Booking Ultra Pro Appointments Booking Calendar Plugin · support · 2020-09-08T18:50:00+00:00

complaintsentiment
highseverity
1.0relevance
8replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 33 rows with source links

15.2% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
mordimpark unresolved
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? Hello, We are updating to plugin ASAP in order to make it 100% compatible with the new version of WP. Cheers Hi, 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? @mordimpark , Thank you for your post. The new version is almost ready, it uses the new PHPMailer. We hope to release it right today Cheers 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 106,108c106,107 < 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 Hey guys, This issue was fixed some weeks ago. Could you please confirm by your side? Hi, The problem still exists Notice: Undefined index: bup-purchased-qty in /wp-content/plugins/booking-ultra-pro/classes/bookingultra.register.php on line 709 Notice: Undefined variable: p_name in /wp-content/plugins/booking-ultra-pro/classes/bookingultra.register.php on line 797 Notice: Undefined variable: cart_id in /wp-content/plugins/booking-ultra-pro/classes/bookingultra.order.php on line 192 Notice: Undefined variable: p_name in /wp-content/plugins/booking-ultra-pro/classes/bookingultra.register.php on line 1039 Notice: Undefined variable: quantity in /wp-content/plugins/booking-ultra-pro/classes/bookingultra.order.php on line 161 Notice: Trying to get property ‘filter_name’ of non-object in /wp-content/plugins/booking-ultra-pro/classes/bookingultra.messaging.php on line 1008 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 /wp-includes/functions.php on line 5049 Fatal error: Cannot declare class PHPMailer\PHPMailer\SMTP, because the name is already in use in /wp-includes/PHPMailer/SMTP.php on line 31 There has been a critical error on this website. This reply was modified 5 years, 3 months ago by dkarginov . Hi, it was not fixed. Also in 1.0.88 I still have to manually patch “classes/bookingultra.messaging.php” to fix PHPMailer issue on wordpress > 5.5. Here again the diff to original version user@machine:~/git/booking-ultra-pro$ git diff master classes/bookingultra.messaging.php diff --git a/classes/bookingultra.messaging.php b/classes/bookingultra.messaging.php index 65ec3bb..2cff504 100755 --- a/classes/bookingultra.messaging.php +++ b/classes/bookingultra.messaging.php @@ -102,8 +102,10 @@ class BookingUltraProMessaging extends BookingUltraCommon // wp-includes/PHPMailer/PHPMailer.php require_once ABSPATH . WPINC . '/PHPMailer/PHPMailer.php'; - require_once ABSPATH . WPINC . '/class-smtp.php'; - $phpmailer = new PHPMailer( true ); + //require_once ABSPATH . WPINC . '/class-phpmailer.php';^M + require_once ABSPATH . WPINC . '/PHPMailer/SMTP.php';^M + require_once ABSPATH . WPINC . '/PHPMailer/Exception.php';^M + $phpmailer = new PHPMailer\PHPMailer\PHPMailer( true );^M

Comments

8 shown
Plugins Area 2020-09-30T14:41:00+00:00

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

mordimpark 2020-12-04T15:06:00+00:00

Hi, 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?

Plugins Area 2020-12-11T15:44:00+00:00

@mordimpark , Thank you for your post. The new version is almost ready, it uses the new PHPMailer. We hope to release it right today Cheers

openedge1 2020-12-30T17:18:00+00:00

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

mordimpark 2021-01-15T17:04:00+00:00

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 106,108c106,107 < 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

Plugins Area 2021-02-09T19:23:00+00:00

Hey guys, This issue was fixed some weeks ago. Could you please confirm by your side?

dkarginov 2021-02-16T19:44:00+00:00

Hi, The problem still exists Notice: Undefined index: bup-purchased-qty in /wp-content/plugins/booking-ultra-pro/classes/bookingultra.register.php on line 709 Notice: Undefined variable: p_name in /wp-content/plugins/booking-ultra-pro/classes/bookingultra.register.php on line 797 Notice: Undefined variable: cart_id in /wp-content/plugins/booking-ultra-pro/classes/bookingultra.order.php on line 192 Notice: Undefined variable: p_name in /wp-content/plugins/booking-ultra-pro/classes/bookingultra.register.php on line 1039 Notice: Undefined variable: quantity in /wp-content/plugins/booking-ultra-pro/classes/bookingultra.order.php on line 161 Notice: Trying to get property ‘filter_name’ of non-object in /wp-content/plugins/booking-ultra-pro/classes/bookingultra.messaging.php on line 1008 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 /wp-includes/functions.php on line 5049 Fatal error: Cannot declare class PHPMailer\PHPMailer\SMTP, because the name is already in use in /wp-includes/PHPMailer/SMTP.php on line 31 There has been a critical error on this website. This reply was modified 5 years, 3 months ago by dkarginov .

mordimpark 2021-03-12T18:16:00+00:00

Hi, it was not fixed. Also in 1.0.88 I still have to manually patch “classes/bookingultra.messaging.php” to fix PHPMailer issue on wordpress > 5.5. Here again the diff to original version user@machine:~/git/booking-ultra-pro$ git diff master classes/bookingultra.messaging.php diff --git a/classes/bookingultra.messaging.php b/classes/bookingultra.messaging.php index 65ec3bb..2cff504 100755 --- a/classes/bookingultra.messaging.php +++ b/classes/bookingultra.messaging.php @@ -102,8 +102,10 @@ class BookingUltraProMessaging extends BookingUltraCommon // wp-includes/PHPMailer/PHPMailer.php require_once ABSPATH . WPINC . '/PHPMailer/PHPMailer.php'; - require_once ABSPATH . WPINC . '/class-smtp.php'; - $phpmailer = new PHPMailer( true ); + //require_once ABSPATH . WPINC . '/class-phpmailer.php';^M + require_once ABSPATH . WPINC . '/PHPMailer/SMTP.php';^M + require_once ABSPATH . WPINC . '/PHPMailer/Exception.php';^M + $phpmailer = new PHPMailer\PHPMailer\PHPMailer( true );^M