: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace WPForms\Migrations;
use WPForms\Db\Payments\Payment;
use WPForms\Db\Payments\Meta as PaymentMeta;
* Class Migrations handles Lite plugin upgrade routines.
class Migrations extends Base {
* WP option name to store the migration version.
const MIGRATED_OPTION_NAME = 'wpforms_versions_lite';
* Name of the core plugin used in log messages.
const PLUGIN_NAME = 'WPForms';
const UPGRADE_CLASSES = [
* Custom table handler classes.
* @since 1.8.2 Registered payment tables.
const CUSTOM_TABLE_HANDLER_CLASSES = [