Support » Plugin: Calculated Fields Form » Pointless Updates

  • Everytime there is an update, I have to update the plugin and then quickly go to the plugins settings to change the character encoding to UTF-8, otherwise the plugin will not show up on my page. It’s a little pointless how updating the plugin causes more problems then just leaving the plugin as is.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @parksindustriesllc

    If this is happening on your website the issue is not caused by our plugin. The plugin uses the database encoding configured on your WordPress. So, I recommend you to check the constants: “DB_CHARSET” and “DB_COLLATE” in the wp-config.php file of your website.

    Best regards.

    I can try your suggestion, however, logically, if your plugin’s update only has this type of effect on your plugin, then how is WordPress the issue and not your plugin? Once the update is completed, the only thing on my website that does not work is, once again, your plugin.

    Plugin Author codepeople

    (@codepeople)

    Hello @parksindustriesllc

    Once the plugin is updated, it calls the WordPress function “dbDelta” (https://developer.wordpress.org/reference/functions/dbdelta/). So, if exists any modifications in the database, it would be fixed, but if there are no changes, the database’s tables won’t be touched. If the constant on your config file do not match with the charset and collate of the table, the dbDelta would apply these ones, for these reason, it is very important the constant in your file reflect the encoding required by your data.

    Best regards.

    @codepeople,

    I found the Database Charset where it says (‘DB_CHARSET’, ‘utf8’), which I’m assuming is why I have to constantly change my character encoding to UTF-8. How would I go about correcting this to where I don’t have to constantly change the character encoding every time that I have to update your plugin?

    Plugin Author codepeople

    (@codepeople)

    Hello @parksindustriesllc

    The following chartset supports more characters than utf8:

    
    define('DB_CHARSET', 'utf8mb4');
    

    However, I recommend that you test it on the development website first, and if all goes well, apply the modification to the production website.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this review.