TUC
Post count: 7
|
Hey,
Seems like the compatibility for MySQL 8 you’ve added breaks custom field types on MariaDB servers.
It looks like you’re using two different methods to determine MySQL version within your plugin.
mpv_settings.php
<?php printf( __( "MySQL Version: %s", MASTERPRESS_DOMAIN), $wpdb->db_version() ) ?>
mpm.php
$version = $wpdb->get_var('SELECT VERSION();');
if ( version_compare( $version , '8.0.0', '<' ) ) {
The issue we see is that they both return different versions when you’re running MariaDB (which our shared hosting uses).
Method 1:
5.5.5
Method 2:
10.3.18-MariaDB-cll-lve
Because of this, the if statement returns as if we’re greater than version 8, which breaks all of the associated custom fields with any post in the system.
|
Simon [MasterPress Sales]
Post count: 2
|
Hey TUC, thanks for alerting us to this.
We have just released 1.1.9 which addresses this issue:
https://www.masterpressplugin.com/2019/11/masterpress-1-1-9-now-available
|