Title: Broken website! Parse error after update!
Last modified: June 10, 2017

---

# Broken website! Parse error after update!

 *  Resolved [richmondartscoalition](https://wordpress.org/support/users/richmondartscoalition/)
 * (@richmondartscoalition)
 * [9 years ago](https://wordpress.org/support/topic/broken-website-parse-error-after-update/)
 * Now receiving the following error message instead of a website:
 * Parse error: syntax error, unexpected ‘[‘ in /home/richarts/public_html/wordpress/
   wp-content/plugins/quick-paypal-payments/quick-paypal-payments.php on line 2381
 * The other topic’s fix didn’t work.

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

 *  Thread Starter [richmondartscoalition](https://wordpress.org/support/users/richmondartscoalition/)
 * (@richmondartscoalition)
 * [9 years ago](https://wordpress.org/support/topic/broken-website-parse-error-after-update/#post-9214959)
 * Update: Deleting the entire plug-in’s folder via the cPanel file manager managed
   to unbreak my website, but I’d rather still be able to use this plug-in.
 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [9 years ago](https://wordpress.org/support/topic/broken-website-parse-error-after-update/#post-9215165)
 * What version of PHP are you using?
 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [9 years ago](https://wordpress.org/support/topic/broken-website-parse-error-after-update/#post-9233551)
 * Upgrading to at least php 5.6 fixes the problem.
 * However, version 5.* is no longer supported so you should consider upgrading 
   to version 7 which is faster, more stable and more secure.
 *  [yorcht](https://wordpress.org/support/users/yorcht/)
 * (@yorcht)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/broken-website-parse-error-after-update/#post-9279827)
 * Hello, Aerín, same problem here. Impossible to see nothing of the web just the
   above message. this is a complete catastrophe for a sie in production. Updatin
   php in a some server is not so easy, and take a lot. Is there anyother way to
   fix this even temporarily just changing the code ([ in line 2381) ????
    tnx
 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/broken-website-parse-error-after-update/#post-9279967)
 * Support for php 5.6 ended back the beginning of 2017. Everyone who has upgraded
   to PHP7 now has a working plugin.
 * One test site of mine is still running php 5.6 and it still works – so I have
   no idea how to fix this as I can’t replicate the issue. And over 1200 users have
   got the latest version of QEM so this does seem to be an isolated problem.
 * Upgrading PHP is really simple in cpanel – took me less than a minute to do. 
   Plesk probably has a similar upgrade function.
 * Sorry I can’t help more
 *  Anonymous User
 * (@anonymized-1391468)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/broken-website-parse-error-after-update/#post-9357855)
 * There is a syntax error on line 2381:
 * `$x = $order->dump()['PAYMENTREQUEST_0_ITEMAMT'];`
    -  This reply was modified 8 years, 11 months ago by Anonymous User.
 *  [hazeycoder](https://wordpress.org/support/users/hazeycoder/)
 * (@hazeycoder)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/broken-website-parse-error-after-update/#post-9450793)
 * I am receiving the same issue as well. I’d like to use this plugin but the issue
   is 100% with the line on 2381. I’m running PHP7.
 * Any advice other than to not use the plugin?
 * Thanks
 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/broken-website-parse-error-after-update/#post-9451167)
 * Can you please download and install this update:
 * [https://quick-plugins.com/quick-paypal-payments/qpp-update/](https://quick-plugins.com/quick-paypal-payments/qpp-update/)
 * And tell me if it fixes things
 *  [hazeycoder](https://wordpress.org/support/users/hazeycoder/)
 * (@hazeycoder)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/broken-website-parse-error-after-update/#post-9451323)
 * Hey,
 * Yup, that fixes it.
 * Thanks!
 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/broken-website-parse-error-after-update/#post-9451426)
 * Excellent!
 * I will upload the update to the repository
 *  [netmix360](https://wordpress.org/support/users/netmix360/)
 * (@netmix360)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/broken-website-parse-error-after-update/#post-9911991)
 * Quick fix remove the (). and problem solved.
    $x = $order->dump()[‘PAYMENTREQUEST_0_ITEMAMT’];

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

The topic ‘Broken website! Parse error after update!’ is closed to new replies.

 * ![](https://ps.w.org/quick-paypal-payments/assets/icon-128x128.png?rev=3412386)
 * [Quick Paypal Payments](https://wordpress.org/plugins/quick-paypal-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-paypal-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-paypal-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-paypal-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-paypal-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-paypal-payments/reviews/)

 * 11 replies
 * 6 participants
 * Last reply from: [netmix360](https://wordpress.org/support/users/netmix360/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/broken-website-parse-error-after-update/#post-9911991)
 * Status: resolved