Title: Internal Server Error
Last modified: March 29, 2023

---

# Internal Server Error

 *  Resolved [momo-fr](https://wordpress.org/support/users/momo-fr/)
 * (@momo-fr)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/internal-server-error-706/)
 * Hi, I’m trying to use the latest version and I have some problems with database
   optimization: Internal server error.
 * This on several sites.
 * My SQL configuration
   Extension: mysqliServer version: 10.6.12-MariaDBmysqlnd 
   client version: 7.4.33Database character set: utf8mb4Database collation: utf8mb4_unicode_520_ciMaximum
   allowed packet size: 268435456Maximum number of connections: 500

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

 *  Plugin Author [Milan Petrovic](https://wordpress.org/support/users/gdragon/)
 * (@gdragon)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/internal-server-error-706/#post-16607031)
 * Hi,
 * Can you check which error you get exactly? Internal Server Error can be anything,
   and without knowing exact error, I can’t do anything. Check your server error
   log for the logged error, and post it here.
 * Also, this happens only with Database Optimization sweeper?
 * Regards,
   Milan
 *  [Skrlance](https://wordpress.org/support/users/seanlance/)
 * (@seanlance)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/internal-server-error-706/#post-16616389)
 * Yes, I am also getting Internal Server Error while the plugin is optimizing wp_postmeta
   table.
 * **Sweep Progress Report**
 * Internal Server Error
    -  This reply was modified 3 years, 2 months ago by [Skrlance](https://wordpress.org/support/users/seanlance/).
 *  Plugin Author [Milan Petrovic](https://wordpress.org/support/users/gdragon/)
 * (@gdragon)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/internal-server-error-706/#post-16616398)
 * OK, but internal server error is a state covering all the errors. I need to see
   what the actual error is. It is possible that it is linked to the database server
   configuration, or something else. Check the server PHP error log, and get me 
   the error associated with problem.
 *  [Skrlance](https://wordpress.org/support/users/seanlance/)
 * (@seanlance)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/internal-server-error-706/#post-16616637)
 * `2023/04/01 16:15:21 [error] 83#83: *119 FastCGI sent in stderr: "PHP message:
   PHP Fatal error: Uncaught Error: Class "DB" not found in /var/www/html/wp-content/
   plugins/sweeppress/core/bridge.php:27`
 * Stack trace:
 * /var/www/html/wp-content/plugins/sweeppress/core/sweeper/OptimizeTables.php(103):
   sweeppress_db()
 * /var/www/html/wp-content/plugins/sweeppress/core/basic/Sweep.php(271): Dev4Press\
   Plugin\SweepPress\Sweeper\OptimizeTables->sweep()
 * /var/www/html/wp-content/plugins/sweeppress/core/admin/AJAX.php(82): Dev4Press\
   Plugin\SweepPress\Basic\Sweep->sweep()
 * /var/www/html/wp-content/plugins/sweeppress/core/admin/AJAX.php(61): Dev4Press\
   Plugin\SweepPress\Admin\AJAX->_the_sweeper()
 * /var/www/html/wp-includes/class-wp-hook.php(308): Dev4Press\Plugin\SweepPress\
   Admin\AJAX->sweep()
 * /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
 * /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()” while reading
   response header from upstream, client: ::1, server: gwt.localhost”, referrer:“/
   wp-admin/admin.php?page=sweeppress-sweep”
    -  This reply was modified 3 years, 2 months ago by [Skrlance](https://wordpress.org/support/users/seanlance/).
 *  Plugin Author [Milan Petrovic](https://wordpress.org/support/users/gdragon/)
 * (@gdragon)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/internal-server-error-706/#post-16616664)
 * Thanks for the error log. The bug is now fixed in version 2.1.1.
 * Regards,
   Milan

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

The topic ‘Internal Server Error’ is closed to new replies.

 * ![](https://ps.w.org/sweeppress/assets/icon.svg?rev=2889279)
 * [SweepPress: Website Cleanup and Optimization](https://wordpress.org/plugins/sweeppress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sweeppress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sweeppress/)
 * [Active Topics](https://wordpress.org/support/plugin/sweeppress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sweeppress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sweeppress/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Milan Petrovic](https://wordpress.org/support/users/gdragon/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/internal-server-error-706/#post-16616664)
 * Status: resolved