Getting error while indexing

  • hsurekar
    Participant
    5 years ago #11211

    Hi There,

    We have setup this plugin on our brand new site using opensolr hosting, but connection is working fine whereas whenever we are trying to do indexing of posts we are getting below error

    Error on line 1924 of file /wp-includes/wp-db.php: mysqli::real_connect() expects parameter 5 to be integer, string given,

    We never had this issue before with this plugin,

    Please help,

    Thanks,
    Hemant

    wpsolr
    Keymaster
    5 years ago #11212

    Neither did I.

    Can you produce the full error stack, so I can relate it to WPSOLR code?

    hsurekar
    Participant
    5 years ago #11213

    As its our live site, Its difficult to get this,

    we are doing indexing with 100 records per request, when checked in console network 3-4 ajax requests executes fine then after that it gives us above error,

    Please let me know if it helps

    wpsolr
    Keymaster
    5 years ago #11214

    Try with batch size smaller and smaller: 50, then 10, then 1 if errors.

    hsurekar
    Participant
    5 years ago #11215

    I treid with minimum 5 and still its breaking after 4th ajax request

    wpsolr
    Keymaster
    5 years ago #11216

    Please activate briefly the WP DEBUG mode, so I can get the error full stack from debug.log

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.