Title: Fatal Errors
Last modified: November 9, 2019

---

# Fatal Errors

 *  Resolved [Muhammad Toqeer Iqbal](https://wordpress.org/support/users/mtoqeer/)
 * (@mtoqeer)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-errors-61/)
 * Just Received this message from WordPress. Before this, due to this plugin i 
   was facing so many problems, also my hosting company told me that this plugin
   is causing problems. can you please review your plugin again and fix all the 
   issues.
 * Since WordPress 5.2 there is a built-in feature that detects when a plugin or
   theme causes a fatal error on your site, and notifies you with this automated
   email.
 * Error Details
    ============= An error of type E_ERROR was caused in line 63 of
   the file /var/www/wptbox/wp-content/plugins/maxbuttons/classes/maxbuttons-class.
   php. Error message: Uncaught UnexpectedValueException: DirectoryIterator::__construct(/
   var/www/wptbox/wp-content/plugins/maxbuttons/classes): failed to open dir: No
   such file or directory in /var/www/wptbox/wp-content/plugins/maxbuttons/classes/
   maxbuttons-class.php:63 Stack trace: #0 /var/www/wptbox/wp-content/plugins/maxbuttons/
   classes/maxbuttons-class.php(63): DirectoryIterator->__construct(‘/var/www/wptbox…’)#
   1 /var/www/wptbox/wp-content/plugins/maxbuttons/classes/maxbuttons-class.php(
   29): MaxButtons\maxButtonsPlugin->load() #2 /var/www/wptbox/wp-content/plugins/
   maxbuttons/maxbuttons.php(85): MaxButtons\maxButtonsPlugin->__construct()
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-errors-61%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * (@basszje)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-errors-61/#post-12118138)
 * It’s a strange problem. Maybe you could try to reinstall the plugin, or check
   the directory permissions.
 * The plugin basically can’t open files in classes/controllers, which is vital 
   to running the plugin.

Viewing 1 replies (of 1 total)

The topic ‘Fatal Errors’ is closed to new replies.

 * ![](https://ps.w.org/maxbuttons/assets/icon-128x128.png?rev=1378636)
 * [MaxButtons - Create buttons](https://wordpress.org/plugins/maxbuttons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maxbuttons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maxbuttons/)
 * [Active Topics](https://wordpress.org/support/plugin/maxbuttons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maxbuttons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maxbuttons/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-errors-61/#post-12118138)
 * Status: resolved