1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

digitalpoint-sphinx-129

Discussion in 'Support & Feedback' started by 1QuickSI, Sep 11, 2019 at 7:45 AM.

  1. #1
    Running v1.2.9 and upgraded the server to PHP 7.1.32 Now getting warnings. Any updates of fixes? I'll buy premium again if I have to...
    SEMrush
    PHP Warning: Illegal string offset 'Host' in ..../packages/dpsphinxsearch/hooks/admin_index_main3.php on line 47

    PHP Warning: Illegal string offset 'Daemon Uptime' in ..../packages/dpsphinxsearch/hooks/admin_index_main3.php on line 51

    PHP Warning: Illegal string offset 'Queries' in ..../packages/dpsphinxsearch/hooks/admin_index_main3.php on line 51

    PHP Warning: Illegal string offset 'Average Query Time' in ..../packages/dpsphinxsearch/hooks/admin_index_main3.php on line 51

    PHP Warning: Invalid argument supplied for foreach() in ..../packages/dpsphinxsearch/hooks/admin_index_main3.php on line 55
     
    1QuickSI, Sep 11, 2019 at 7:45 AM IP
    SEMrush
  2. Spoiltdiva

    Spoiltdiva Prominent Member

    Messages:
    6,368
    Likes Received:
    1,833
    Best Answers:
    50
    Trophy Points:
    395
    #2
    My understanding is that while 7.0 is only about 3 years old it is no longer being supported. The same will likely hold true for 7.1. Fact is 7.2 is now officially listed as a recommended requirement to run Wordpress.

    (HELIX3 version 1.9+.....Joomla+........= no problems.)
     
    Spoiltdiva, Sep 11, 2019 at 10:40 AM IP
  3. SpacePhoenix

    SpacePhoenix Well-Known Member

    Messages:
    124
    Likes Received:
    12
    Best Answers:
    1
    Trophy Points:
    120
    #3
    7.1 goes EOL at the start of December.

    This warning:

    is a bug in Sphinx as where an array gets populated it's not being set up as an empty array first
     
    SpacePhoenix, Sep 11, 2019 at 11:51 AM IP
  4. 1QuickSI

    1QuickSI Active Member

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #4
    I am well aware of the PHP life cycle. Unfortunately I am on vBulletin 4.2.5 and for very specific reasons can not change this. This version only supports up to PHP 7.1.x, thus this is where I remain and will need to fix the DP Sphinx add on.

    I have since had someone fix the above issue... Now I have this one:
    PHP Warning: Declaration of VW_Search_SearchController::process_keywords_filters($user, $criteria) should be compatible with DPSphinxSearch_CoreSearchController::process_keywords_filters($user, $criteria, $allow_ip_search = false) in ..../packages/vw/search/searchcontroller.php on line 0

    Anyone know what needs to be done to remove the warning?
     
    1QuickSI, Sep 11, 2019 at 1:15 PM IP
  5. Spoiltdiva

    Spoiltdiva Prominent Member

    Messages:
    6,368
    Likes Received:
    1,833
    Best Answers:
    50
    Trophy Points:
    395
    #5
    If you were to upgrade you could potentially suppress or end up breaking stuff, especially add ons. vBulletin 4.2.5. is only compatible with PHP 5.6.x and up to PHP7.1.x.
    Wordpress doesn't absolutley require PHP7.2 and will run fine on PHP7.1x or PHP5.6.x.

    P.S. if you just want to get rid of the warning for now, you can use something like this:
    error_reporting(E_ERRORl E_PARSE);
     
    Last edited: Sep 11, 2019 at 1:53 PM
    Spoiltdiva, Sep 11, 2019 at 1:31 PM IP
  6. 1QuickSI

    1QuickSI Active Member

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #6
    I am about fixing things. Suppressing just hides the problem. I acknowledge that the issues at hand are going to be plugins that are not PHP 7.1.x compatible and will be working to correct that problem. Unfortunately my experience with PHP does not lend itself to coding at this level. I was hoping someone here either had that experience or this issue had come up on sites prior (I am sure it has) and they already were able to resolve the issue. Guess I'll just reach out to my developer and let him fix it.

    As for vBulletin there is a site that has a patched version that runs on PHP 7.2 as well as the latest alphas. We are going to create a sand box on the server and do some testing as this will surely break the majority of the plugins at some level.
     
    1QuickSI, Sep 11, 2019 at 4:07 PM IP
  7. SpacePhoenix

    SpacePhoenix Well-Known Member

    Messages:
    124
    Likes Received:
    12
    Best Answers:
    1
    Trophy Points:
    120
    #7
    How much control do you have on the server configuration? What if your host decides to move the server over to PHP 7.2?
     
    SpacePhoenix, Sep 11, 2019 at 11:02 PM IP
  8. 1QuickSI

    1QuickSI Active Member

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #8
    This is a private dedicated server. Unless I upgrade it, it does not happen.
     
    1QuickSI, Sep 12, 2019 at 2:43 AM IP