Title: Critical Error
Last modified: July 29, 2024

---

# Critical Error

 *  Resolved [scandidesignco](https://wordpress.org/support/users/scandidesignco/)
 * (@scandidesignco)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/critical-error-710/)
 * We received an email saying there has been a critical error on the site and I’m
   unable to access Shield Security from within the dashboard any longer. Here’s
   the error message:
 * WordPress version 6.6
   Active theme: PEI Manufacturing (version 1.0) Current plugin:
   Shield Security (version 20.0.4) PHP version 7.4.33Website: [https://peimfg.com/](https://peimfg.com/)
 * Error Details
   =============An error of type E_ERROR was caused in line 481 of
   the file /home/customer/www/[peimfg.com/public_html/wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/ExpressionParser.php](http://peimfg.com/public_html/wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/ExpressionParser.php).
   Error message: Uncaught Error: Class ‘Twig\Node\Expression\ArrayExpression’ not
   found in /home/customer/www/[peimfg.com/public_html/wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/ExpressionParser.php:481](http://peimfg.com/public_html/wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/ExpressionParser.php:481)
   Stack trace:#0 /home/customer/www/[peimfg.com/public_html/wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/ExpressionParser.php(414)](http://peimfg.com/public_html/wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/ExpressionParser.php(414)):
   Twig\ExpressionParser->parseSubscriptExpression(Object(Twig\Node\Expression\NameExpression))#
   1 /home/customer/www/[peimfg.com/public_html/wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/ExpressionParser.php(299)](http://peimfg.com/public_html/wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/ExpressionParser.php(299)):
   Twig\ExpressionParser->parsePostfixExpression(Object(Twig\Node\Expression\NameExpression))#
   2 /home/customer/www/[peimfg.com/public_html/wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/ExpressionParser.php(183)](http://peimfg.com/public_html/wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/ExpressionParser.php(183)):
   Twig\ExpressionParser->parsePrimaryExpression()#3 /home/customer/www/[peimfg.com/public_html/wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/ExpressionParser.php(78)](http://peimfg.com/public_html/wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/ExpressionParser.php(78)):
   Twig\ExpressionP

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

 *  Plugin Support [Jelena](https://wordpress.org/support/users/jmisic/)
 * (@jmisic)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/critical-error-710/#post-17921357)
 * Hi,
 * Sorry to hear that.
   You can try reinstalling the Shield plugin and see if the
   error persists. Make sure you’re running the latest Shield v20.0.6.
 * Thanks,
 * Jelena
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/critical-error-710/#post-17921395)
 * Could you try reinstalling the Shield plugin, please? That file/class is present
   in the release ZIP, so if it’s saying there’s no such class, then I suspect WordPRess
   didn’t complete the latest upgrade process successful and it may not have copied
   all the files.
 *  Thread Starter [scandidesignco](https://wordpress.org/support/users/scandidesignco/)
 * (@scandidesignco)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/critical-error-710/#post-17923432)
 * It looks like it’s resolved now. I updated plugins on Friday (5 days ago) and
   that’s when the error message was sent so I went ahead and updated plugins again
   today and its gone. Not sure which plugin was causing it but that was a simple
   fix. Thank you!
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/critical-error-710/#post-17923983)
 * Great to hear, thanks for reporting back and letting us know.

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

The topic ‘Critical Error’ is closed to new replies.

 * ![](https://ps.w.org/wp-simple-firewall/assets/icon-256x256.png?rev=3054572)
 * [Shield Security – Smart Bot Blocking, Brute-Force Login Protection & File Scanning](https://wordpress.org/plugins/wp-simple-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-simple-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-simple-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-simple-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-simple-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-simple-firewall/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/critical-error-710/#post-17923983)
 * Status: resolved