Home / Admin / Recreate the aioseo_cache table
Duplicate Snippet

Embed Snippet on Your Site

Recreate the aioseo_cache table

This code snippet recreates the missing 'aioseo_cache' table.

This code snippet should be enabled and executed only once.

Once the aioseo_cache table is created and the error has been resolved, you should immediately disable and remove this code snippet.

300+
Code Preview
php
<?php
add_action( 'init', function() {
	if ( function_exists( 'aioseo' ) ) {
		aioseo()->preUpdates->createCacheTable();
	}
});

Comments

Add a Comment