Project:Registration codes
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I tried generating a code and I got the following error every time:
user warning: Unknown column 'is_onetime' in 'field list' query: INSERT INTO regcode (created,begins,expires,category,code,is_active,is_onetime) VALUES (NOW(), NULL, NULL, "Test", "123456", 1, 0) in /Users/julien/Sites/dev.clubesf.com/httpdocs/sites/all/modules/regcode/regcode.api.php on line 120.
Is there something to edit in the code to fix it?

Comments

#1

Status:active» fixed

Just change is_onetime to maxuses on line 120 of regcode.api

Alternatively just update your version of regcode to the latest stable!

#2

That solved the error, thanks.

#3

Status:fixed» closed (fixed)
nobody click here