• wp_wordpoints_points_logs table blog_id is not inserting i need to insert blogid also into the table
    kindly do the needful

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author J.D. Grimes

    (@jdgrimes)

    Can you please explain more about what you are trying to do?

    If you are using the wordpoints_alter_points() function, the blog_id should be inserted as the value of $wpdb->blogid. If it isn’t being inserted, that probably means that the value of $wpdb->blogid is not set properly. This is probably being caused by another plugin that is modifying the $wpdb->blogid value.

    If you aren’t using a function provided by WordPoints to insert the data, that is not really supported.

    Thread Starter shivks

    (@shivks)

    I am publishing new post, commenting on a post, but still blog id column is 0 in database. No other plugin is conflicting I have deactivated all other. Kindly help on this.

    Plugin Author J.D. Grimes

    (@jdgrimes)

    I’m sorry you’re still having trouble with this. If you could answer a few questions for me, it will help me to try and figure out what is going on.

    1. Which version of WordPoints and WordPress are you using?
    2. Are you using multisite?
    3. Have you tried also switching to one of the default themes?
    4. Can you check what the value of $wpdb->blogid is?
    Thread Starter shivks

    (@shivks)

    4.3.1 & 4.4.2

    no
    yes
    0

    Plugin Author J.D. Grimes

    (@jdgrimes)

    WordPoints uses on the value of $wpdb->blogid. It will insert whatever the value of $wpdb->blogid is. So if $wpdb->blogid is 0, then WordPoints will insert 0. Usually, when multisite is not enabled, the value of $wpdb->blogid will just always be 1. For some reason, it is 0 on your site. I do not think that this will affect the operation of WordPoints, unless the value of $wpdb->blogid is changed on your site later for some reason.

    Are you having a particular problem that this is causing you?

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

The topic ‘blog id is not inserting in table’ is closed to new replies.