Find This: // Install $DB_site->query(" INSERT INTO ".TABLE_PREFIX."datastore VALUES ('custom_online', '".addslashes(serialize($array))."'); "); And replace it with this: $DB_site->query("INSERT INTO " . TABLE_PREFIX . "datastore VALUES ('custom_online', 'a:0:{}')"); Tell me if that works..