Title: Plugin update cause parse error
Last modified: October 25, 2022

---

# Plugin update cause parse error

 *  [safnasash](https://wordpress.org/support/users/safnasash/)
 * (@safnasash)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-update-cause-parse-error/)
 * Hello,
    When i update to the latest version, causes critical error on my website.
   like below:
 *     ```
       Parse error: syntax error, unexpected ')' in /home/www/duacollege.in/wp-content/plugins/easy-image-gallery/includes/admin-page.php on line 19
   
       Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/www/duacollege.in/wp-includes/functions.php on line 5833
   
       Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/www/duacollege.in/wp-includes/functions.php on line 5833
       There has been a critical error on this website.
       ```
   

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

 *  [Plamen Georgiev](https://wordpress.org/support/users/pgeorgiev/)
 * (@pgeorgiev)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-update-cause-parse-error/#post-16132525)
 * Hi [@safnasash](https://wordpress.org/support/users/safnasash/),
 * We have added this report to our devs and they will look into it shortly.
    In
   the meantime, you can disable the plugin while we investigate the cause of this
   critical error.
 * Thanks again for your report!
 * Best,
 *  [Plamen Georgiev](https://wordpress.org/support/users/pgeorgiev/)
 * (@pgeorgiev)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-update-cause-parse-error/#post-16135139)
 * Hi [@safnasash](https://wordpress.org/support/users/safnasash/),
 * We have tested the plugin internally but we are not able to reproduce the error
   you mentioned.
 * We tested the plugin with PHP7.4 and PHP8.1.5 versions as well as WordPress version
   6.0.3 works fine.
 * What we would advise is to reinstall the plugin with the latest version 1.5
    
   This way you will save the current galleries that you are currently using.
 * Best,
 *  Thread Starter [safnasash](https://wordpress.org/support/users/safnasash/)
 * (@safnasash)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-update-cause-parse-error/#post-16135446)
 * hello,
    thank you for your reply, my website is running in php 7.1, cant upgrade
   to more, causes some error with other plugins like slider revolution. so that
   may be the reason that this plugin cant update. i am trying to upgrade the php
   version and will get back to yuou if problem exists with your plugin. thank you.
 *  [Plamen Georgiev](https://wordpress.org/support/users/pgeorgiev/)
 * (@pgeorgiev)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-update-cause-parse-error/#post-16152159)
 * Hey [@safnasash](https://wordpress.org/support/users/safnasash/),
 * I hope you are doing well,
 * We’re sharing a little more information from our internal tests.
 * The issue you are experiencing is that you have a lower version than PHP 7.3.33.
   I see you mention version 7.1, and that’s why you’re getting this error.
 * It would be best for you to upgrade your PHP version if your hosting allows it,
   and you won’t have this issue during the upgrade.
 * Best,
    -  This reply was modified 3 years, 6 months ago by [Plamen Georgiev](https://wordpress.org/support/users/pgeorgiev/).

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

The topic ‘Plugin update cause parse error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-image-gallery_9da6b0.svg)
 * [Easy Image Gallery](https://wordpress.org/plugins/easy-image-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-image-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-image-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-image-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-image-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-image-gallery/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Plamen Georgiev](https://wordpress.org/support/users/pgeorgiev/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-update-cause-parse-error/#post-16152159)
 * Status: not resolved