To post a new support question, click the Post New Topic button below.
Current Version: 4.8.5 | Sytist Manual | Common  Issues | Feature Requests

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Paypal Website Payments Pro Error Out, Php Ver 8.1 Issue?

60 posts
Wed May 31, 23 10:27 PM CST

Hi,

Our Paypal payments error out on the payment screen with the error text below. Customers can still pay with VISA/Mastercard but we have not received any PayPal Express since May 21st. We did update to PHP version: 8.1.19 around that time. Does anyone know a fix?

____________________________


Warning: Undefined variable $included in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 3

Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /home/natinalphotograp/public_html/sy-config.php on line 24

Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /home/natinalphotograp/public_html/sy-config.php on line 25

Warning: session_start(): Session cannot be started after headers have already been sent in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 5

Warning: Constant _date_ already defined in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 25

Warning: Constant _credit_ already defined in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 25

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 56

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 57

Warning: Undefined variable $start in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 60

Warning: Undefined global variable $_SESSION in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 128

Warning: Trying to access array offset on value of type null in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 128

Warning: Trying to access array offset on value of type null in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 133

Warning: Trying to access array offset on value of type null in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 134

Warning: Undefined global variable $_SESSION in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 135

Warning: Trying to access array offset on value of type null in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 135

Warning: Undefined global variable $_SESSION in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 136

Warning: Trying to access array offset on value of type null in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 136

Deprecated: urlencode(): Passing null to parameter #1 ($string) of type string is deprecated in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 144

Warning: Undefined variable $PayPalMode in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 149

Warning: Undefined array key "order_id" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-declined.php on line 2

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-declined.php on line 8

Warning: Cannot modify header information - headers already sent by (output started at /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php:3) in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-declined.php on line 8

16,148 posts (admin)
Fri Jun 02, 23 7:23 AM CST

I am not sure if this will fix it or not, but download this zip file.

Unzip it and upload the included paypal-pro-express.php  file into the sy-inc/store/payment folder on your website overwriting the existing one either with your FTP program or the file manager in your hosting control panel.


Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
60 posts
Sun Jun 04, 23 8:57 PM CST

Hi Tim,


Thanks for looking into this. After replacing the paypal-pro-express.php file we are getting a different error message (see below). Is there anything else we can try?



Warning: Constant _date_ already defined in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 25

Warning: Constant _credit_ already defined in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 25

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 56

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 57

Warning: Undefined variable $start in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 60

Warning: Undefined variable $PayPalMode in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 149

Warning: Undefined variable $PayPalMode in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 177

Warning: Undefined array key "order_ship_email" in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 200

Warning: Undefined array key "gift_certificate_amount" in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 223

Warning: Undefined array key "gift_certificate_id" in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 224

Warning: Undefined variable $payment_fees in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 250

Warning: Undefined array key "customer_message" in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 260

Warning: Undefined array key "pending_reason" in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 263

Warning: Undefined array key "address_status" in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 284

Warning: Undefined array key "payer_status" in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 285

Warning: Trying to access array offset on value of type null in /home/natinalphotograp/public_html/sy-inc/functions.php on line 486

Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete.php on line 133

Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete.php on line 134

Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete.php on line 150

Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete.php on line 156

Warning: Undefined variable $gift_certificate_total in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete.php on line 172

Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete.php on line 172

Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete.php on line 173

Warning: Undefined variable $order_items in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete.php on line 418

Warning: Undefined variable $total_items in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete.php on line 419

Warning: Trying to access array offset on value of type null in /home/natinalphotograp/public_html/sy-inc/store/store_functions.php on line 1821

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 94

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 95

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 130

Warning: Undefined variable $html in /home/natinalphotograp/public_html/sy-inc/store/store_functions.php on line 2074

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/functions.php on line 164

Warning: Undefined variable $email_replace_key in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 134

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 134

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 136

Warning: Undefined array key "checkout_ssl" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 139

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 142

Warning: Undefined array key "checkout_ssl" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 145

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 148

Warning: Undefined array key "email_shipping_descr" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 152

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 152

Warning: Undefined variable $email_replace_key in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 177

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 177

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 181

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 215

Warning: Undefined variable $email_replace_key in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 218

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 218

Warning: Undefined variable $headers in /home/natinalphotograp/public_html/sy-inc/functions.php on line 357

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/functions.php on line 381

Warning: Undefined array key "only_use_remote_address_for_ip" in /home/natinalphotograp/public_html/sy-inc/functions.core.php on line 493

Warning: Undefined array key "do_not_send_emails" in /home/natinalphotograp/public_html/sy-inc/functions.php on line 399

Warning: Undefined array key "demo_mode" in /home/natinalphotograp/public_html/sy-inc/functions.php on line 400

Warning: Undefined array key "testdrive" in /home/natinalphotograp/public_html/sy-inc/functions.php on line 401

Warning: Undefined array key "do" in /home/natinalphotograp/public_html/sy-inc/functions.php on line 415

Warning: Undefined array key "action" in /home/natinalphotograp/public_html/sy-inc/functions.php on line 415

Warning: Undefined variable $add_admin_order_status in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 234

Warning: Undefined variable $add_email in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 234

Warning: Undefined variable $order_subject_archived in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 260

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete-send-notification.php on line 266

Warning: Undefined variable $headers in /home/natinalphotograp/public_html/sy-inc/functions.php on line 357

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/functions.php on line 381

Warning: Undefined array key "only_use_remote_address_for_ip" in /home/natinalphotograp/public_html/sy-inc/functions.core.php on line 493

Warning: Undefined array key "do_not_send_emails" in /home/natinalphotograp/public_html/sy-inc/functions.php on line 399

Warning: Undefined array key "demo_mode" in /home/natinalphotograp/public_html/sy-inc/functions.php on line 400

Warning: Undefined array key "testdrive" in /home/natinalphotograp/public_html/sy-inc/functions.php on line 401

Warning: Undefined array key "do" in /home/natinalphotograp/public_html/sy-inc/functions.php on line 415

Warning: Undefined array key "action" in /home/natinalphotograp/public_html/sy-inc/functions.php on line 415

Warning: Undefined array key "temp_url_folder" in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete.php on line 520

Warning: Cannot modify header information - headers already sent by (output started at /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php:25) in /home/natinalphotograp/public_html/sy-inc/store/payment/payment-complete.php on line 520

60 posts
Sun Jun 04, 23 9:08 PM CST

Update: Actually I just received order confirmation emails from Sytist and PayPal for the above test. So the file you supplied has kind of fixed it, in that the transactions are now going through but customers get the error text above.

60 posts
Sun Jun 04, 23 9:26 PM CST

Also noticed on the order confirmation from Sytist that the title has odd text.

Attached Photos

16,148 posts (admin)
Mon Jun 05, 23 8:17 AM CST

I've updated the file so try uploading it again.  download this zip file.

Unzip it and upload the included paypal-pro-express.php  file into the sy-inc/store/payment folder on your website overwriting the existing one either with your FTP program or the file manager in your hosting control panel.

For the email subject, looks like something you added. Go to Settings -> Default Messages, edit that default email and change the subject.

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
60 posts
Mon Jun 05, 23 7:43 PM CST

Ok, the new paypal-pro-express.php file has reduced the error text down to a single line:

Warning: Undefined variable $included in /home/natinalphotograp/public_html/sy-inc/store/payment/paypal-pro-express.php on line 2

But now the transaction does not go through (no order confirmation emails from paypal or Sytist)

And yes you are correct on the email subject being me, (test gallery that has been renamed by me years ago most likely).

16,148 posts (admin)
Wed Jun 07, 23 4:13 AM CST

Email me the following info so I can look at some things: 

  • 1) The link / URL to your Sytist admin (where you log into your Sytist admin).
  • 2) The admin username and password (or create me an admin account by clicking Admins in the upper right corner of the admin pages).
  • 3) FTP username and password.



Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
60 posts
Wed Jun 07, 23 6:35 PM CST

Thanks Tim, details requested have been emailed to you.

9 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 396 times
Category: Payment Options
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close