amit
May 10, 2016, 7:34am
2
hi sir im getting this error when i reactivate the plugin
c $dbVersion = “1.0”; function createDb() { $installed_ver = get_option( “my_beta_version” ); if ($installed_ver != $this->dbVersion ) { require_once(ABSPATH . ‘wp-admin/includes/upgrade.php’); $tableName = $wpdb->prefix . “my_beta_user”; $sql = “CREATE TABLE " . $userdetails . " ( id mediumint NOT NULL AUTO_INCREMENT PRIMARY KEY, name varchar(255) NOT NULL, email varchar(255) NOT NULL, notify tinyint(1) NOT NULL, selected mediumint NOT NULL DEFAULT 0, responded mediumint NOT NULL DEFAULT 0, udid varchar(255) NOT NULL DEFAULT "" );”; dbDelta($sql); add_option(“my_beta_version”, $this->dbVersion); } }
Warning: Division by zero in C:\Program Files\Ampps\www\jaggudada\wp-content\plugins\my-beta-signup\my-beta-signup.php on line 60
Warning: Division by zero in C:\Program Files\Ampps\www\jaggudada\wp-content\plugins\my-beta-signup\my-beta-signup.php on line 60
Warning: Division by zero in C:\Program Files\Ampps\www\jaggudada\wp-content\plugins\my-beta-signup\my-beta-signup.php on line 60
This tutorial is more than six months old so questions are no longer supported at the moment for it. We will update it as soon as possible. Thank you! :]