: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Yoast\WP\SEO\Config\Migrations;
use Yoast\WP\Lib\Migrations\Migration;
* ExpandIndexableIDColumnLengths class.
class ExpandIndexableIDColumnLengths extends Migration {
* The plugin this migration belongs to.
public static $plugin = 'free';
* The columns to change the column type and length of.
protected static $columns_to_change = [
foreach ( self::$columns_to_change as $column ) {
* Retrieves the table name to use for storing indexables.
* @return string The table name to use.
protected function get_table_name() {
return Model::get_table_name( 'Indexable' );