The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
PHP Code Question #2
Running Digital Point Sphinx under PHP 7.1.33 and while I am suppressing errors for the end users I am trying to clean up all the relevant code. Came across this when searching... Any ideas for a fix? It's well beyond my pay grade...
Code:
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 |
#2
|
|||
|
|||
Functions from derived classes should be compatible with parent class.
So VW_Search_SearchController:: process_keywords_filters should have same params list. Check in VW_Search_SearchController:: process_keywords_filters if there is variable $allow_ip_search used. If not you can change to Code:
VW_Search_SearchController:: process_keywords_filters($user, $criteria, $allow_ip_search = false) |
#3
|
||||
|
||||
Try to change different PHP versions and see if this error can happen again?
If yes then it is a conflict between your host and DB Sphinx |
#4
|
||||
|
||||
I am on a private dedicated server that I control. Currently running PHP 7.1.33 and should be moving to PHP 7.3 hopefully the 1st quarter of 2020. Rolling back PHP is none negotiable. We are pushing forward and re-coding as needed.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|