Title: Empty WPEC Plugin Data Error After Update
Last modified: March 15, 2024

---

# Empty WPEC Plugin Data Error After Update

 *  Resolved [atlinstructional](https://wordpress.org/support/users/atlinstructional/)
 * (@atlinstructional)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/empty-wpec-plugin-data-error-after-update/)
 * After upgrading to version 2.3.9 I’m receiving the following error upon clicking
   the Pay button: “Could not initiate PayPal Checkout…Error! Empty WPEC plugin 
   data received from the create-order AJAX call. Expected an order ID to be passed.”
 * Rolled back to version 2.3.7 and everything is fine.
 * One observation: If I created new products in 2.3.9 they would work, but products
   created in earlier versions would not.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [atlinstructional](https://wordpress.org/support/users/atlinstructional/)
 * (@atlinstructional)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/empty-wpec-plugin-data-error-after-update/#post-17505570)
 * Some additional info: The WordPress debug log indicates the error is related 
   to the following
 * …/wp-express-checkout/includes/class-order-summary-table.php on line 48 – Attempt
   to read property “public” on null
 *  …/wp-express-checkout/admin/includes/class-admin-order-summary-table.php on 
   line 45 – Attempt to read property “public” on null 
 * …/wp-express-checkout/includes/class-paypal-button-ajax-handler.php on line 325–
   Undefined array key “applied”
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/empty-wpec-plugin-data-error-after-update/#post-17505976)
 * Thank you for reaching out to us. Do you currently have a cache plugin running
   in your site? Does your server run any caching system? Can you share the shortcode
   you are currently using?
 * Can you also carry out the following troubleshooting steps.
 * [https://wp-express-checkout.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/](https://wp-express-checkout.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/)
 * Thank you.
 *  Thread Starter [atlinstructional](https://wordpress.org/support/users/atlinstructional/)
 * (@atlinstructional)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/empty-wpec-plugin-data-error-after-update/#post-17506006)
 * Thanks for the reply. There is no cache with WordPress or the server, and there
   are no other plugins in use. Example of shortcode is [wp_express_checkout product_id
   =”1484″]. The error also occurs without shortcode when a product is chosen directly
   through the Shop page that the plugin created.
 * Based on the errors on the WordPress debug log (see my earlier post) the new 
   plugin version appears not able to properly locate the old products in the database.
   When rolling back to the older version they are located and the transactions 
   are successful.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/empty-wpec-plugin-data-error-after-update/#post-17506034)
 * Thank you for providing more information. This will help the developers investigate
   further your findings.
 * Kind regards.
 *  Plugin Author [mra13 / Team Tips and Tricks HQ](https://wordpress.org/support/users/mra13/)
 * (@mra13)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/empty-wpec-plugin-data-error-after-update/#post-17508739)
 * I have checked it on my site and I can’t see any issue. There is a high likelihood
   that some kind of caching happening with the JavaScript file (public.js). It 
   can work with the older version because the cached version of the JavaScript 
   file (which is old) will be compatible with the older version. We have made changes
   to the JavaScript file in the newer version so if it is loading the cached version,
   it will have a mismatch in the data that is being sent from the client to the
   server.
 * Do you have a link to the page where your button is so I can inspect hte page’s
   HTML code and check if it is loading the updated copy of the plugin’s JavaScript
   file?
 *  Thread Starter [atlinstructional](https://wordpress.org/support/users/atlinstructional/)
 * (@atlinstructional)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/empty-wpec-plugin-data-error-after-update/#post-17509392)
 * Here is a test page with 5 products. The first two (without thumbnails ) are 
   newer and work OK. The other three are older and do not work in this version 
   2.3.9. If I roll back to 2.3.7 they will work.
 * [https://www.sociopolitical.net/shop-products/](https://www.sociopolitical.net/shop-products/)
 * Thank you.
 *  Plugin Author [mra13 / Team Tips and Tricks HQ](https://wordpress.org/support/users/mra13/)
 * (@mra13)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/empty-wpec-plugin-data-error-after-update/#post-17511245)
 * Thank you. Looks like the PayPal API related updates we had to make couldn’t 
   handle the special characters in the product name (for example the – character
   is considered a special character). That was throwing things off.
 * We just released another update that should solve it. Please upgrade the plugin
   when you can. Let me know if this works better.
 *  Thread Starter [atlinstructional](https://wordpress.org/support/users/atlinstructional/)
 * (@atlinstructional)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/empty-wpec-plugin-data-error-after-update/#post-17512100)
 * This latest update resolved the issue. Thanks for the great support.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Empty WPEC Plugin Data Error After Update’ is closed to new replies.

 * ![](https://ps.w.org/wp-express-checkout/assets/icon-128x128.png?rev=2219181)
 * [WP Express Checkout (Fast Payments via PayPal & Stripe)](https://wordpress.org/plugins/wp-express-checkout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-express-checkout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-express-checkout/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-express-checkout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-express-checkout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-express-checkout/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [atlinstructional](https://wordpress.org/support/users/atlinstructional/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/empty-wpec-plugin-data-error-after-update/#post-17512100)
 * Status: resolved