Title: Database Errors
Last modified: May 28, 2025

---

# Database Errors

 *  [ljmac](https://wordpress.org/support/users/ljmac/)
 * (@ljmac)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/database-errors-85/)
 * Hi. Although it seems to work perfectly fine, I’m getting the following datable
   errors from your plugin:
 * [27-May-2025 22:01:42] WARNING: [pool www] child 2950812 said into stderr: “NOTICE:
   PHP message: WordPress database error Data too long for column ‘option_name’ 
   at row 1 for query INSERT INTO `wp_options` (`option_name`, `option_value`, `
   autoload`) VALUES (‘_transient_timeout_better_random_redirect_post_ids_posttype_topic’,‘
   1748386902’, ‘no’) ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`),`
   option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`) made 
   by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’),
   do_action(‘template_redirect’), call_user_func_array, BetterRandomRedirect::do_redirect,
   set_transient, add_option”
   [27-May-2025 22:01:42] WARNING: [pool www] child 2950812
   said into stderr: “NOTICE: PHP message: WordPress database error Data too long
   for column ‘option_name’ at row 1 for query INSERT INTO `wp_options` (`option_name`,`
   option_value`, `autoload`) VALUES (‘_transient_timeout_better_random_redirect_post_ids_posttype_topic_max’,‘
   1748386902’, ‘yes’) ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`),`
   option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`) made 
   by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’),
   do_action(‘template_redirect’), call_user_func_array, BetterRandomRedirect::do_redirect,
   set_transient, update_option, add_option”

Viewing 1 replies (of 1 total)

 *  Thread Starter [ljmac](https://wordpress.org/support/users/ljmac/)
 * (@ljmac)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/database-errors-85/#post-18548616)
 * Okay, I thought that maybe reducing the cache time would resolve this issue, 
   but I found that if I make any changes to the options, they all clear and the
   plugin stops working! It is very likely that this is the reason for user reports
   that your plugin has stopped working for them – this obviously must be fixed.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/better-random-redirect/assets/icon-256x256.png?rev=1039316)
 * [Better Random Redirect](https://wordpress.org/plugins/better-random-redirect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-random-redirect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-random-redirect/)
 * [Active Topics](https://wordpress.org/support/plugin/better-random-redirect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-random-redirect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-random-redirect/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [ljmac](https://wordpress.org/support/users/ljmac/)
 * Last activity: [9 months, 1 week ago](https://wordpress.org/support/topic/database-errors-85/#post-18548616)
 * Status: not resolved