: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace WPForms\Migrations;
* @noinspection PhpUnused
class Upgrade159 extends UpgradeBase {
* Create tasks_meta table.
* @return bool|null Upgrade result:
* true - the upgrade completed successfully,
* false - in the case of failure,
* null - upgrade started but not yet finished (background task).
$meta = wpforms()->get( 'tasks_meta' );
// Create the table if it doesn't exist.
if ( ! $meta->table_exists() ) {