diff --git a/classes/Utilities/Search/Searcher.php b/classes/Utilities/Search/Searcher.php index 657a2a6d..89af595a 100644 --- a/classes/Utilities/Search/Searcher.php +++ b/classes/Utilities/Search/Searcher.php @@ -120,7 +120,11 @@ private static function getTables() { $wp_tables = []; $foundTables = $wpdb->get_results("SHOW TABLES FROM {$wpdb->dbname}", ARRAY_A); foreach($foundTables as $foundTable) { - $table = array_first($foundTable); + if (empty($foundTable)) { + continue; + } + + $table = array_values($foundTable)[0]; if (strpos($table, $wpdb->prefix) !== 0) { continue; } diff --git a/ilab-media-tools.php b/ilab-media-tools.php index 85769ef3..f8c698cd 100644 --- a/ilab-media-tools.php +++ b/ilab-media-tools.php @@ -5,7 +5,7 @@ Plugin URI: https://github.com/interfacelab/ilab-media-tools Description: Automatically upload media to Amazon S3 and integrate with Imgix, a real-time image processing CDN. Boosts site performance and simplifies workflows. Author: interfacelab -Version: 4.3.2 +Version: 4.3.3 Requires PHP: 7.4 Author URI: http://interfacelab.io */ @@ -95,7 +95,7 @@ } // Version Defines -define( 'MEDIA_CLOUD_VERSION', '4.3.2' ); +define( 'MEDIA_CLOUD_VERSION', '4.3.3' ); define( 'MEDIA_CLOUD_INFO_VERSION', '4.0.2' ); define( 'MCLOUD_IS_BETA', false ); // Directory defines diff --git a/readme.txt b/readme.txt index d0913874..cc4e2934 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Requires at least: 4.9 Tested up to: 5.9.1 License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html -Stable tag: 4.3.2 +Stable tag: 4.3.3 Requires PHP: 7.4 Automatically store media on Amazon S3, Google Cloud Storage, DigitalOcean Spaces + others. Serve CSS/JS assets through CDNs. Integrate with Imgix. @@ -105,7 +105,7 @@ Imgix is a content delivery network with a twist. In addition to distributing y == Changelog == -= 4.3.2 - 2/26/2022 = += 4.3.3 - 2/26/2022 = * **NOW REQUIRES PHP 7.4** Installing on PHP < 7.4 will not work and result in errors. * Fixed an issue that would prevent certain tasks from running