Hello,
We have the pro version of the Joodb plugin installed on one of the websites we host, and a problem has come up recently:
When enabling the extension, the whole site goes down and displays:
“Fatal error: Can't use method return value in write context in /home/swmar/public_html/components/com_joodb/helpers/joodb.php on line 145”.
That line in joodb.php is: “if (!empty($itemlink) && $fieldname==$joobase->ftitle && !empty($params->get('link_titles',0))) {“
A little background info on the site:
It is currently running:
1) Joomla 3.6.2
2) JooDB 3.1.0
2) The server is running:
a. CentOS 6.7
b. Apache 2.2.27
c. MariaDB 10.1.14, and
d. PHP 5.4.45
The small amount of research we could do is pointing to the PHP version—Apparently empty() only supports variables in PHP5.5 and earlier. Is there any kind of workaround, short of upgrading PHP?
Thank You,