Title: ppxo_unhandled_error
Last modified: December 1, 2022

---

# ppxo_unhandled_error

 *  Resolved [aaronbennett2097](https://wordpress.org/support/users/aaronbennett2097/)
 * (@aaronbennett2097)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/ppxo_unhandled_error/)
 * Hi.
 * I have an issue with the shortcode for the cart.
 * If you add a product to the cart on the product page it works fine, but if you
   then click on the YOUR BASKET button in the menu, which opens a popup with the
   shortcode in, the paypal button shows briefly, then dissapears.
 * I have the following errors…
 * ppxo_xc_ppbutton_error
    ppxo_unhandled_error Error: No handler found for post
   message: zoid_init from [https://www.paypal.com](https://www.paypal.com) in [https://appletonbakery.co.uk/products/](https://appletonbakery.co.uk/products/)
   Error: No handler found for post message: zoid_error from [https://www.paypal.com](https://www.paypal.com)
   in [https://appletonbakery.co.uk/products/](https://appletonbakery.co.uk/products/)
 * It was working a while back, but something broken it.
 * Please help, love the plugin ease.
    Aaron
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fppxo_unhandled_error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/ppxo_unhandled_error/#post-16251145)
 * Hi, what plugin version is your site running? Also, can you share the shortcode
   you are currently using?
 * Thank you.
 *  Thread Starter [aaronbennett2097](https://wordpress.org/support/users/aaronbennett2097/)
 * (@aaronbennett2097)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/ppxo_unhandled_error/#post-16251153)
 * Thanks for the speedy reply, this is the shortcode…
 * [always_show_wp_shopping_cart show_thumbnail=”1″]’
 * Am using the latest version of the plugin.
 * Have these errors in the error_log too if that helps(?)…
 * [16-Oct-2022 19:48:31 UTC] PHP Warning: Invalid argument supplied for foreach()
   in /home/amuzkekr/public_html/wp-content/plugins/wordpress-simple-paypal-shopping-
   cart/wp_shopping_cart.php on line 317
    [16-Oct-2022 19:48:31 UTC] PHP Warning:
   sort() expects parameter 1 to be array, null given in /home/amuzkekr/public_html/
   wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php
   on line 326
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/ppxo_unhandled_error/#post-16251408)
 * Hi, make sure you type the double quotes correctly as per the following shortcode.
 * `[always_show_wp_shopping_cart show_thumbnail="1"]`
 * Also what is the shortcode for the button you are using?
 * The following link can help you setup a shopping cart in your site.
 * [https://www.tipsandtricks-hq.com/how-to-easily-create-a-simple-wordpress-store-online-for-free-4565](https://www.tipsandtricks-hq.com/how-to-easily-create-a-simple-wordpress-store-online-for-free-4565)
 * Kind regards
    -  This reply was modified 3 years, 6 months ago by [mbrsolution](https://wordpress.org/support/users/mbrsolution/).
 *  Thread Starter [aaronbennett2097](https://wordpress.org/support/users/aaronbennett2097/)
 * (@aaronbennett2097)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/ppxo_unhandled_error/#post-16251461)
 * Hi.
 * I’ve double checked and the 1 is in “” but still no change.
 * The button on the product is a bit more complex as I modified it to add custom
   options for each product – am using it in a template…
 * `[wp_cart_button name="' . $title . '" price="' . $price . '" shipping="' . $
   shipping . '" thumbnail="' . $thumb . '"]`
 * But that works absolutely fine.
 * It’s only the shortcode in the popup that’s having problems – showing the paypal
   button for a second or two, then disappearing.
 * Thanks for any help
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/ppxo_unhandled_error/#post-16253473)
 * Hi,
 * > The button on the product is a bit more complex as I modified it to add custom
   > options for each product – am using it in a template…
 * This is probably what is causing this issue. Can you test our plugin using our
   standard shortcode as illustrated in the sample below.
 * `[wp_cart_button name="product name" price="19.95" thumbnail="your thumbnail 
   url" shipping="2.00"]`
 * Let me know what happens.
 * Thank you.
 *  Thread Starter [aaronbennett2097](https://wordpress.org/support/users/aaronbennett2097/)
 * (@aaronbennett2097)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/ppxo_unhandled_error/#post-16253883)
 * Hi. I’ll try it, but I’m pretty sure that’s not the problem.
 * People are making purchases if they stay on the single product page – the cart
   works and the Paypal button shows.
 * It’s ONLY happening on the shotrcode in the popup – whic is the cart, not the
   product button.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/ppxo_unhandled_error/#post-16266813)
 * Hi, how did you go with my suggestion?
 * Regards.

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

The topic ‘ppxo_unhandled_error’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-simple-paypal-shopping-cart/assets/icon-128x128.
   png?rev=2722490)
 * [Simple Shopping Cart](https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/ppxo_unhandled_error/#post-16266813)
 * Status: resolved