Submission Failures
-
I was experiencing submission failures intermittently across all types of devices and users. The user would click the submit button and nothing would happen. No success message, no error message, no errors in the console log, nothing in the server logs.
Ive pinned it down to the wp_cbratingsystem_user_ratings table and the user_ip column. Its maximum length was set to 16 char, which fails to insert a row if the user has an iV6 IP address (which is 39 char). An easy fix is to set this column to 39+ char max to support iV6.
This was extremely frustrating, as WordPress doesent respond back with error messages if a new record fails to insert into a database table.
iV6 IP addresses are becoming more common, so Id recommend you fix the table schema in your plugin and prevent other people from experiencing this.
- The topic ‘Submission Failures’ is closed to new replies.