Fatal error: Call to undefined function dbDelta()

You answered your own question. You need to include the upgrade.php file which contains that function. Otherwise won’t be loaded on your plugin update and the function won’t exist.

require_once(ABSPATH . 'wp-admin/includes/upgrade.php');

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)