Title: New update causing error
Last modified: June 29, 2024

---

# New update causing error

 *  Resolved [maddogprod](https://wordpress.org/support/users/maddogprod/)
 * (@maddogprod)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/new-update-causing-error/)
 *     ```wp-block-code
       [29-Jun-2024 17:15:44 UTC] PHP Parse error:  syntax error, unexpected '?' in /home/w3u8gz2yj0ta/public_html/wp-content/plugins/envira-gallery-lite/includes/global/Envira_Tracking.php on line 48
       ```
   
 * The new update is causing an error on the site so I have to disable the plugin.
   It’s a legacy site that needs an older version of PHP which I suspect is the 
   issue, though most plugins now seem to do a PHP version check before updating.
   How can I fix this or roll back to an earlier version.
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnew-update-causing-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Barsha Paudel](https://wordpress.org/support/users/barsha05/)
 * (@barsha05)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/new-update-causing-error/#post-17864350)
 * Hi [@maddogprod](https://wordpress.org/support/users/maddogprod/),
 * Thank you for reaching out to us!
 * Could you please confirm which version of PHP you are using on your server? You
   can find this information by going to the WP dashboard > Tools > Site Health 
   > Info, then clicking on the ‘Copy Site Health Info’ button and pasting the information
   here.
 * We look forward to your response.
 * Thanks!
 *  Thread Starter [maddogprod](https://wordpress.org/support/users/maddogprod/)
 * (@maddogprod)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/new-update-causing-error/#post-17864474)
 * Oh, it’s ancient.  PHP 5.6.40. Which means WP is out of date too. Legacy client
   site who doesn’t want to update anything so it will all work.
 *  [Barsha Paudel](https://wordpress.org/support/users/barsha05/)
 * (@barsha05)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/new-update-causing-error/#post-17871722)
 * Hi [@maddogprod](https://wordpress.org/support/users/maddogprod/),
 * Thanks for the details,
 * Envira Gallery doesn’t work with PHP version below 7.0. So the only way to fix
   the issue is either to upgrade the PHP version or still use the old version of
   the plugin.
 * Basically upgrading the PHP version, you will be able to work well with our Envira
   Gallery plugins and other WordPress components.
 * Thanks!
 *  Thread Starter [maddogprod](https://wordpress.org/support/users/maddogprod/)
 * (@maddogprod)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/new-update-causing-error/#post-17871807)
 * Thanks. I understand about the old PHP version issues but it’s up to the client.
   Is there a place I can download and manually install an older version of Envira
   that will work with this version of PHP?
 *  [Barsha Paudel](https://wordpress.org/support/users/barsha05/)
 * (@barsha05)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/new-update-causing-error/#post-17878576)
 * Hi [@maddogprod](https://wordpress.org/support/users/maddogprod/),
 * Thanks for reaching back,
 * In-order to roll back to the older version of Envira Gallery, you can use the
   [WP Rollback](https://wordpress.org/plugins/wp-rollback/) free plugin.
 * Before making any change, please be sure to back up your site.
 * Let us know how that goes for you.
 * Thanks!
    -  This reply was modified 1 year, 11 months ago by [Barsha Paudel](https://wordpress.org/support/users/barsha05/).
 *  Thread Starter [maddogprod](https://wordpress.org/support/users/maddogprod/)
 * (@maddogprod)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/new-update-causing-error/#post-17879241)
 * Thanks, but unfortunately it doesn’t work with PHP/WP versions this old either.
   Do you have a repository of past versions so I can download and manually install
   it?
 *  [Barsha Paudel](https://wordpress.org/support/users/barsha05/)
 * (@barsha05)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/new-update-causing-error/#post-17881607)
 * Hi [@maddogprod](https://wordpress.org/support/users/maddogprod/),
 * To download the older version of the plugin, please follow the steps below:
    1. Go to [https://wordpress.org/plugins/envira-gallery-lite/advanced/](https://wordpress.org/plugins/envira-gallery-lite/advanced/).
    2. Choose the version and download the plugin.
    3. Upload the plugin on WordPress Dashboard.
 * I hope this helps!
 *  Thread Starter [maddogprod](https://wordpress.org/support/users/maddogprod/)
 * (@maddogprod)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/new-update-causing-error/#post-17881628)
 * THANKS!

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

The topic ‘New update causing error’ is closed to new replies.

 * ![](https://ps.w.org/envira-gallery-lite/assets/icon-256x256.png?rev=2022837)
 * [Envira Gallery - Image Photo Gallery, Albums, Video Gallery, Slideshows & More](https://wordpress.org/plugins/envira-gallery-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/envira-gallery-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/envira-gallery-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/envira-gallery-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/envira-gallery-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/envira-gallery-lite/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [maddogprod](https://wordpress.org/support/users/maddogprod/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/new-update-causing-error/#post-17881628)
 * Status: resolved