Issue in MasterPress 1.1.8

This topic is: not resolved

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
November 8, 2019 at 10:41 am #3989
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.

November 12, 2019 at 12:00 pm #3997
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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Latest From the Blog

MasterPress 1.4.1 is now available

27th May 2024

This update addresses backwards compatibility issues that were introduced in the previous update. There were some edge cases where PHP 7 had issues and it didn’t work at all on PHP 5.6. We have now changed it so that the PHP 8 compatibility changes will now only affect PHP 8 and will be more thorough… 

Plugin Requirements

MasterPress requires a minimum of WordPress version 4.9, MySQL 5.6, and PHP version 5.6.20.

We also recommend that PHP is configured to use a memory limit of 64MB per request (128MB may be required for sites with higher complexity).

This plug-in is not compatible with the WordPress.com hosted service.

Three AM