Title: Plugin update broken
Last modified: July 23, 2019

---

# Plugin update broken

 *  [chgruver](https://wordpress.org/support/users/chgruver/)
 * (@chgruver)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-broken-2/)
 * Just updated the plugin on one of my sites and get this error making me unable
   to continue my podcast on our website.
 * Parse error: syntax error, unexpected ‘&&’ (T_BOOLEAN_AND), expecting ‘)’ in /
   home4/grcoins/public_html/btm/wp-content/plugins/powerpress.bak/powerpress.php
   on line 712

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

 *  [blockmonkey](https://wordpress.org/support/users/blockmonkey/)
 * (@blockmonkey)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-broken-2/#post-11760952)
 * Getting the same error.
 *  Plugin Contributor [Angelo Mandato](https://wordpress.org/support/users/amandato/)
 * (@amandato)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-broken-2/#post-11761180)
 * Hello [@chgruver](https://wordpress.org/support/users/chgruver/) and [@blockmonkey](https://wordpress.org/support/users/blockmonkey/),
 * What version of PHP are you using?
 * Will have a code fix available soon regardless of version, but I want to confirm
   this is an error with specific versions.
 * Thanks,
    Angelo
 *  [blockmonkey](https://wordpress.org/support/users/blockmonkey/)
 * (@blockmonkey)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-broken-2/#post-11761199)
 * Currently running 5.4.45
 *  Plugin Contributor [Angelo Mandato](https://wordpress.org/support/users/amandato/)
 * (@amandato)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-broken-2/#post-11761206)
 * Hello [@blockmonkey](https://wordpress.org/support/users/blockmonkey/),
 * Oh that may make sense. You are using an older version of WordPress I assume?
 * Until we get this fixed, please downgrade to the previous branch: [https://downloads.wordpress.org/plugin/powerpress.7.4.4.zip](https://downloads.wordpress.org/plugin/powerpress.7.4.4.zip)
 * [@chgruver](https://wordpress.org/support/users/chgruver/), are you also running
   a PHP version older than 5.6?
 * Thanks,
    Angelo
 *  [blockmonkey](https://wordpress.org/support/users/blockmonkey/)
 * (@blockmonkey)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-broken-2/#post-11761209)
 * [@amandato](https://wordpress.org/support/users/amandato/) thx for getting back
   to me so quickly. Yeah older WP as well.
 * We will looking into Downgrading the Plugin – until the fix has been implemented.
    -  This reply was modified 6 years, 10 months ago by [blockmonkey](https://wordpress.org/support/users/blockmonkey/).
 *  Thread Starter [chgruver](https://wordpress.org/support/users/chgruver/)
 * (@chgruver)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-broken-2/#post-11761240)
 * Yes, I am running 5.4 also. I had already downgraded. Kind of wish my hosting
   company would hurry up and get their servers upgraded as it is more than likely
   a security issue not being able to update WordPress.
 *  [thomasvs](https://wordpress.org/support/users/thomasvs/)
 * (@thomasvs)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-broken-2/#post-11762998)
 * This isn’t due to the version of php, this is a clear Syntax Error.
 * To anyone wanting a quick fix, change line 712 to:
 *  if(!empty($Feed[‘itunes_cat_’.$i]) && empty($Feed[‘apple_cat_’.$i])) {
 * The first empty() call had its closing parenthesis at the end of the statement
   and not where it should be – before the &&.
 * If newer versions of PHP don’t flag this as a syntax error, then at the very 
   least the code will not do what you’d expect in this case.
 * To the author, please set up continous integration that runs syntax checking 
   against the code before doing releases – a lot of people have automatic updates
   and their whole site breaks as a result.
 *  Plugin Contributor [Angelo Mandato](https://wordpress.org/support/users/amandato/)
 * (@amandato)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-broken-2/#post-11763104)
 * Hello [@thomasvs](https://wordpress.org/support/users/thomasvs/),
 * We are aware of the syntax error as noted in this thread, we are going to fix
   it for sure, again as noted. I wanted to confirm which versions this was failing
   for, as we tested with PHP 5.6, 7, 7.1, 7.2 and 7.3, but we did not test older
   versions of PHP. The logic does work interestingly, but it is also poorly written
   and as noted does not work for older versions of PHP. Another release will be
   made today to fix this.
 * Thanks,
    Angelo
 *  [kopfconsulting](https://wordpress.org/support/users/kopfconsulting/)
 * (@kopfconsulting)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-broken-2/#post-11763922)
 * [@thomasvs](https://wordpress.org/support/users/thomasvs/) – That worked, thanks!!

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

The topic ‘Plugin update broken’ is closed to new replies.

 * ![](https://ps.w.org/powerpress/assets/icon.svg?rev=2849869)
 * [PowerPress Podcasting plugin by Blubrry](https://wordpress.org/plugins/powerpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/powerpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/powerpress/)
 * [Active Topics](https://wordpress.org/support/plugin/powerpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/powerpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/powerpress/reviews/)

 * 9 replies
 * 0 participants
 * Last reply from: [kopfconsulting](https://wordpress.org/support/users/kopfconsulting/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-broken-2/#post-11763922)
 * Status: not resolved