PHP 7.0 and 7.1 'call to undefined function split()' on User LogIn

Discussion regarding Joomla! 3.x Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
Rowdie
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Jun 14, 2017 1:45 pm

PHP 7.0 and 7.1 'call to undefined function split()' on User LogIn

Post by Rowdie » Wed Jun 14, 2017 2:08 pm

Problem Description :: Forum Post Assistant (v1.3.0) : 14th June 2017 wrote:call to undefined function split()
Log/Error Message :: Forum Post Assistant (v1.3.0) : 14th June 2017 wrote:call to undefined function split()
Actions Taken To Resolve by Forum Post Assistant (v1.3.0) 14th June 2017 wrote:Hi,
I am using PHP 7.0 and I am experiencing a 'call to undefined function split()' error when any non-public or non-guest user logs on to the website frontend.
Changing to PHP 5.6 resolves the issue, changing to PHP 7.1 does not.
I am running Joomla! 3.7.2 on a 1&1 Pro package on a 1&1 Linux hosting platform.
Any pointers as to what could be causing it?
Forum Post Assistant (v1.3.0) : 14th June 2017 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.7.2-Stable (Amani) 22-May-2017
Joomla! Configured :: Yes | Read-Only (444) | Owner: --protected-- . (uid: 1/gid: 1) | Group: --protected-- (gid: 1) | Valid For: 3.7
Configuration Options :: Offline: 0 | SEF: 1 | SEF Suffix: 0 | SEF ReWrite: 1 | .htaccess/web.config: Yes | GZip: 0 | Cache: 0 | FTP Layer: 0 | SSL: 0 | Error Reporting: default | Site Debug: 0 | Language Debug: 0 | Default Access: 1 | Unicode Slugs: 0 | Database Credentials Present: Yes

Host Configuration :: OS: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux | OS Version: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux | Technology: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux | Web Server: Apache | Encoding: gzip, deflate, br | Doc Root: /kunden/homepages/12/d299163707/htdocs/richardowden.live.1412 | System TMP Writable: Yes

PHP Configuration :: Version: 5.6.30 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 1 | Error Reporting: 22517 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 64M | Max. POST Size: 64M | Max. Input Time: -1 | Max. Execution Time: 50000 | Memory Limit: 256M

MySQL Configuration :: Version: 5.5.54-0+deb7u2-log (Client:mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | Host: --protected-- (--protected--) | Collation: latin1_general_ci (Character Set: latin1) | Database Size: 5.40 MiB | #of Tables: 106
Detailed Environment :: wrote:PHP Extensions :: Core (5.6.30) | date (5.6.30) | ereg () | libxml () | openssl () | pcre () | sqlite3 (0.7-dev) | zlib (2.0) | bcmath () | bz2 () | calendar () | ctype () | curl () | dba () | dom (20031129) | hash (1.0) | fileinfo (1.0.5) | filter (0.11.0) | ftp () | gd () | gettext () | SPL (0.2) | iconv () | session () | intl (1.1.0) | json (1.2.1) | mbstring () | mcrypt () | standard (5.6.30) | mysqlnd (mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | PDO (1.0.4dev) | pdo_mysql (1.0.2) | pdo_sqlite (1.0.1) | Phar (2.0.2) | posix () | Reflection ($Id: 5f15287237d5f78d75b19c26915aa7bd83dee8b8 $) | imap () | shmop () | SimpleXML (0.1) | soap () | mysqli (0.1) | exif (1.4 $Id: 1c8772f76be691b7b3f77ca31eb788a2abbcefe5 $) | tidy (2.0) | tokenizer (0.1) | wddx () | xml () | xmlreader (0.1) | xmlwriter (0.1) | xsl (0.1) | zip (1.12.5) | mysql (1.0) | cgi-fcgi () | Zend Engine (2.6.0) |
Potential Missing Extensions :: suhosin |

Switch User Environment (Experimental) :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (705) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) |

Elevated Permissions (First 10) ::
Extensions Discovered :: wrote:Strict Information Privacy was selected. Nothing to display.
Templates Discovered :: wrote:_FPA_STRICT Information Privacy Nothing to display.
[/size]
[/quote]

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30940
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: PHP 7.0 and 7.1 'call to undefined function split()' on User LogIn

Post by Per Yngve Berg » Wed Jun 14, 2017 2:45 pm

The FPA is with PHPversion 5.6.30.

In what file does the error occur?

The split function have been removed in Php 7.0 and deprecated since 5.3. You must have a very old extension installed.

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

Rowdie
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Jun 14, 2017 1:45 pm

Re: PHP 7.0 and 7.1 'call to undefined function split()' on User LogIn

Post by Rowdie » Thu Jun 15, 2017 6:00 am

"You must have a very old extension installed."
How true!
Set up website to use PHP 7.0 then went through process of unpublishing any text handling extensions and then logging in.
Problem plugin found on second plugin.
Have now replaced the plugin.
Thanks.


Locked

Return to “Performance - Joomla! 3.x”