This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

PHP Error Notice after Staging Deployment

Home Forums Product Support Forums Ajax Search Pro for WordPress Support PHP Error Notice after Staging Deployment

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22613
    moosemoose
    Participant

    The plugin worked great on local dev … but as soon as I deployed into Staging to show my client, I got the following notices on the home page:

    Notice: Undefined offset: 1 in /home2/devhtmlf/public_html/directory-poc/wp-content/plugins/ajax-search-pro/includes/functions/functions.php on line 1621

    Notice: Undefined offset: 2 in /home2/devhtmlf/public_html/directory-poc/wp-content/plugins/ajax-search-pro/includes/functions/functions.php on line 1621

    Notice: Undefined offset: 2 in /home2/devhtmlf/public_html/directory-poc/wp-content/plugins/ajax-search-pro/includes/functions/functions.php on line 1621

    Plz, let us know the meaning of those and how to get rid of it. Our dev cycle involves following a few phases:

    1. Local Dev
    2. Dev Deployment on Bluehost
    3. Staging Deployment on Bluehost
    4. Production Deployment on our VPS

    The question is, for all the deployment of the same site do we have to buy one license each? Is that the reason it’s giving us all those error messags? Plz let us know asap. Thanx.

    #22616
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    The issue is caused by a simple empty line within one of the radio filters on the ‘Advanced to Archive – no img Imported’ search instance. If you remove that line, it should resolve the issue: https://i.imgur.com/IO7V2EX.png

    The plugin should check for these accidental empty values, but it looks like it fails in this case. I will make sure to correct that for the upcoming release.

    #22649
    moosemoose
    Participant

    Awesome! This fixed it … I could not remove the empty space any way I tried, like backspace or del key, etc. So I removed the item and re-created it and that fixed it. Thanx very much!

    Btw, could you also plz answer that if one site has local, dev, staging and production releases, do we need to buy the license for all 4 stages? Thanx in advance.

    Moose

    #22653
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #22692
    moosemoose
    Participant

    You guys are Awesome! Thanx a bunch …

    #22696
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.