Conversation
supportHi, 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: mysqli Server version: 10.6.12-MariaDB mysqlnd client version: 7.4.33 Database character set: utf8mb4 Database collation: utf8mb4_unicode_520_ci Maximum allowed packet size: 268435456 Maximum number of connections: 500
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
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, 1 month ago by Skrlance .
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.
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, 1 month ago by Skrlance .
Thanks for the error log. The bug is now fixed in version 2.1.1. Regards, Milan
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
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, 1 month ago by Skrlance .
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.
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, 1 month ago by Skrlance .
Thanks for the error log. The bug is now fixed in version 2.1.1. Regards, Milan