Title: Fatal Error with the update
Last modified: October 31, 2017

---

# Fatal Error with the update

 *  Resolved [nikcree](https://wordpress.org/support/users/nikcree/)
 * (@nikcree)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-the-update/)
 * After updating the plugin we are now seeing an error:
 * “Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ‘)’ in …/wp-content/
   plugins/advanced-post-list/includes/class/class-apl-query.php on line 331”
 * It won’t activate at all now. Any clues what is happening? Many thanks

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

 *  [Dr. SEO](https://wordpress.org/support/users/drseo/)
 * (@drseo)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-the-update/#post-9636454)
 * Hi There!
 * I get same:
 * PHP Parse error: syntax error, unexpected ‘&&’ (T_BOOLEAN_AND), expecting ‘)’
   in /home/…/public_html/wp-content/plugins/advanced-post-list/includes/class/class-
   apl-query.php on line 331
    Thanks!
 * Jozsef
 *  [christophe971](https://wordpress.org/support/users/christophe971/)
 * (@christophe971)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-the-update/#post-9636684)
 * Got an error too this morning with the update… Whole site down with only a blank
   screen until I deactivate the plugin. No error message.
 * Thanks.
 *  [christophe971](https://wordpress.org/support/users/christophe971/)
 * (@christophe971)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-the-update/#post-9636711)
 * Hi,
 * And now same warning as in previous messages in this thread after trying to reinstall.
 * Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ‘)’ in /var…/wordpress/
   wp-content/plugins/advanced-post-list/includes/class/class-apl-query.php on line
   331
 * Thx
    Christophe
 *  Plugin Author [EkoJR](https://wordpress.org/support/users/ekojr/)
 * (@ekojr)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-the-update/#post-9637223)
 * Thank you for reporting on this. The plugin has been reverted back to 0.3.7, 
   and if you manually replace the files with the 0.3.7 files. Everything should
   return as it was with the old database.
 *  Plugin Author [EkoJR](https://wordpress.org/support/users/ekojr/)
 * (@ekojr)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-the-update/#post-9637353)
 * I have a hotfix that should correct this issue. Just need to download it an replace
   the files.
 * [Hotfix for Fatal Error in 0.4.0](https://github.com/Advanced-Post-List/advanced-post-list/releases/tag/0.4.1.b1)
 * DO NOT Uninstall. APL has an Uninstall function in WP that removes the database.
   Be sure to replace the files manually.
 *  Thread Starter [nikcree](https://wordpress.org/support/users/nikcree/)
 * (@nikcree)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-the-update/#post-9638571)
 * Thanks [@ekojr](https://wordpress.org/support/users/ekojr/) – all good now.
 *  Plugin Author [EkoJR](https://wordpress.org/support/users/ekojr/)
 * (@ekojr)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-the-update/#post-9638866)
 * Awesome! Thank you for confirming this.
 * Another update (0.4.1) should be available for platforms within the next hour
   or so.
 *  [christophe971](https://wordpress.org/support/users/christophe971/)
 * (@christophe971)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-the-update/#post-9640286)
 * Great! It’s working again for all sites using APL.
    Thx!
 * Christophe
 *  [calvinsalt](https://wordpress.org/support/users/calvinsalt/)
 * (@calvinsalt)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-with-the-update/#post-9786511)
 * I encounter a similar error:
 * Plugin could not be activated because it triggered a fatal error.
    Parse error:
   syntax error, unexpected ‘:’ in /home/saltstudio/wp-content/plugins/advanced-
   post-list/includes/class/class-apl-post-list.php on line 337
 * Please help.

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

The topic ‘Fatal Error with the update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-post-list.svg)
 * [Advanced Post List](https://wordpress.org/plugins/advanced-post-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-post-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-post-list/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-post-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-post-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-post-list/reviews/)

## Tags

 * [boolean](https://wordpress.org/support/topic-tag/boolean/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 9 replies
 * 5 participants
 * Last reply from: [calvinsalt](https://wordpress.org/support/users/calvinsalt/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-with-the-update/#post-9786511)
 * Status: resolved