Is anyone else having problems importing bibtex files since upgrading to Joomla 3.9 and using php 7+?
This is the error I receive
Call to undefined function split()
I found that function split() was deprecated in php 7 and discovered ./administrator/components/com_jresearch/includes/BibTex.php used split and replaced it as follows, but that didn't solve the problem. The error went away, but bibtex files aren't importing.
421c421
< $arr = split('\{', $entry);
---
> $arr = preg_split('\{', $entry);
630c630
< $authorarray = split(' and ', $entry);
---
> $authorarray = preg_split(' and ', $entry);
642c642
< $tmparray = split(' |~', $author);
---
> $tmparray = preg_split(' |~', $author);
Any suggestions? I can't give you access to my development server because I'm behind a corporate firewall.
thanks!