xoops forums

blackvision

Just popping in
Posted on: 6/27 2:47
blackvision
blackvision (Show more)
Just popping in
Posts: 2
Since: 2016/9/11
#1

Getting Error Related to PHP 7.0 With Xoops 2.5.9

I am getting this error when I changed the php version on my Xoops 2.5.9 website to PHP 7.0. It works if left on PHP 5.6 but trying to change that to 7.0, 7.1, or 7.2 which are readily available on my dedicated server.

A problem has occurred on our server!
Page is currently unavailable
We are working on a fix
Please come back soon ...

Error : Error: Call to undefined function split())

So I reverted back to PHP 5.6 for now until I figure out how to get it to work on PHP 7

I tried to do it on a fresh install while PHP 7.0 is enabled and still get the error.

Mamba

Moderator
Posted on: 6/27 8:40
Mamba
Mamba (Show more)
Moderator
Posts: 10625
Since: 2004/4/23
#2

Re: Getting Error Related to PHP 7.0 With Xoops 2.5.9

There might be a problem with some of your old modules.

Quote:
I tried to do it on a fresh install while PHP 7.0 is enabled and still get the error.

Was this only XOOPS, or did you also included any other modules?
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs

loukaum

Just popping in
Posted on: 6/27 13:33
loukaum
loukaum (Show more)
Just popping in
Posts: 93
Since: 2003/11/2
#3

Re: Getting Error Related to PHP 7.0 With Xoops 2.5.9

As Mamba already stated, some part of your Xoops instalation (probably a module) is calling a deprecated php function:

http://php.net/manual/pt_BR/function.split.php

blackvision

Just popping in
Posted on: 6/27 23:57
blackvision
blackvision (Show more)
Just popping in
Posts: 2
Since: 2016/9/11
#4

Re: Getting Error Related to PHP 7.0 With Xoops 2.5.9

Oh okay. I will uninstall all but system and protector to which module causing the issue. I will follow up