× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

JooDB throwing Fatal Error--see below

More
7 years 5 months ago #4162 by jverry.ccstech
JooDB throwing Fatal Error--see below was created by jverry.ccstech
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
3) 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?

Please Log in to join the conversation.

Moderators: Dirkjoest