Skip to:
Content
Pages
Categories
Search
Top
Bottom

Unknown column ‘Array’

  • Avatar of Willian
    Will
    Member

    @wceolin

    I’m having some troubles with the plugin. Some users get this error:

    WordPress database error: [Unknown column 'Array' in 'where clause']
    SELECT `image` FROM `wp_cubepointsRanks` WHERE `points` <= Array ORDER BY `points` DESC LIMIT 1

    Any ideas?

    PS. I’ve disabled all plugins and actived default theme. This error remains.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Avatar of Willian
    Will
    Member

    @wceolin

    I’ve noted all users which it happens they have duplicate “cpoints” on wp_usermeta.

    I can delete it manually, but anyone has any idea about why it happens?

    Avatar of Willian
    Will
    Member

    @wceolin

    No ideas? It’s really hard delete it manually everytime. :(

    Avatar of Tosh
    Tosh
    Participant

    @xberserker

    Not sure about that, ask over at the official cubepoints forums
    http://cubepoints.com/forums/

    Do you have ranks enabled? Are you using a full image url or just image.jpg?

    Avatar of Willian
    Will
    Member

    @wceolin

    Thanks. I’ll do that.

    I’ve enabled ranks, but I don’t set any images. However, I think the problem is not there. Something is creating duplicate data on database. When an user win points, cubepoints adds a lot of “cpoints” rows for that user on wp_usermeta.

    Avatar of Willian
    Will
    Member

    @wceolin

    Anyone knows a way which can I delete those duplicated “cpoints” on wp_usermeta automatically?

    Avatar of Willian
    Will
    Member

    @wceolin

    I think it was a bug with “Daily login”. I’ve disabled it and it’s working without duplicate. However, it would be nice if a solution could be found.

    Other informations: I’m running WordPress 3.0.4, BuddyPress 1.2.7, CubePoints 2.1.3 and CubePoints Buddypress Integration 1.8.2.

    Avatar of Tosh
    Tosh
    Participant

    @xberserker

    Wow, what a odd glitch. I know they developers over at Cubepoints.com are re-coding version 3 from the ground up. But I would still mention that to them.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.