HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/azvo/wp-content/plugins/sitepress-multilingual-cms/inc/upgrade-functions/upgrade-2.3.0.php
<?php
global $wpdb;

$icl_rc_widget = get_option( 'widget_recent_comments' );
if ( ! empty( $icl_rc_widget ) ) {
	$rc_widgets = get_option( 'widget_recent-comments' );
	if ( ! empty( $rc_widgets ) ) {
		$rc_widgets[] = $icl_rc_widget;
	} else {
		$rc_widgets = array(
			'1'            => $icl_rc_widget,
			'_multiwidget' => 1,
		);

	}
	update_option( 'widget_recent-comments', $rc_widgets );
	delete_option( 'widget_recent_comments' );

}
$wpdb->query( "ALTER TABLE {$wpdb->prefix}icl_string_translations MODIFY COLUMN value TEXT NULL DEFAULT NULL" );

$wpdb->query( "ALTER TABLE  {$wpdb->prefix}icl_string_translations ADD translator_id bigint(20) NULL DEFAULT NULL, ADD translation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP" );

// Disable the auto registration of strings if we are upgrading to 2.3.0
$iclsettings                          = get_option( 'icl_sitepress_settings' );
$iclsettings['st']['icl_st_auto_reg'] = 'disable';
update_option( 'icl_sitepress_settings', $iclsettings );

// The icl_translators_cached format has change at some point.
// Let's clear the cache so it gets rebuilt.
delete_option( $wpdb->prefix . 'icl_translators_cached' );
delete_option( $wpdb->prefix . 'icl_non_translators_cached' );