The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Plugin causing issues with php 7.1
Hi,
I've installed a new vb but i used php 7.1 however i am reciving errors from the plugin. I don't want to downgrade my php really to 5.6. Php 7.1 runs faster than 5.6, correct ? What do i do to get my plugins to work ? this is the first plugin i tried to test and it is an important one. |
#2
|
||||
|
||||
What is the plugin code?
|
#3
|
||||
|
||||
Hi Mark - there are several plugins.
The first one is recapcha new (i get a white page in registration page if i ever use it) Edit: The fix is on the last page of the plugin, this one is fixed. https://vborg.vbsupport.ru/showthread.php?t=315960 The next one is sphynix search https://marketplace.digitalpoint.com...tin-4.870/item The third one is a custom made for my header , that is the one i first tried and give me the error i mentioned above: |
#4
|
||||
|
||||
Try this code in your custom plugin:
PHP Code:
|
#5
|
||||
|
||||
Hi Mark - add this code where ? replace the entire file with your code ?
Edit: i applied your changes but still same issue: |
#6
|
||||
|
||||
Replace the actual plugin code. No need to edit the .XML file.
|
Благодарность от: | ||
katie hunter |
#7
|
||||
|
||||
Hi Mark, i tried it but it gave me an error when i tried to import the xml file after i updated
XML Error: Not well-formed (invalid token) at Line 3 Edit: now it works !! <3 i went to edit in Installed Products and replaced your code in the install new code and saved. But trying to edit the xml file and upload it didn't work, it gave me that error above. What did you do to fix it ? so i can apply it to other plugins that has similar issues like the sphynix right now has that same issue: |
#8
|
||||
|
||||
I'm surprised that was part of the installation code...it should have simply been in a plugin. As far as Sphinx, I would speak to its developers.
|
#9
|
||||
|
||||
They ceased updating it, but i have many the same issues with the xml files, what do i need to replace to be compliant with php 7.x ?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|