Stevebenson223
Member
Firstly, a very big THANK YOU for all your hard work in getting to the release version of Fabrik 4.0. Amazing work and really really appreciated by so many of us.
I have a test site which I have just updated from F4.0delta J4.3.2 to F4.0 (Official release) J4.4.2 which seemed to work fine. Then I upgraded to J5.0.2 and I'm now getting an error message on most, but not all, Lists:
"An error has occurred with a eval'd field - please inform the web-site owner. Debug: Eval exception : ap_awards (id 12):reFormatFormJoins() : //counts and displays number of rows in the Awards Group, using id of each record $mydb = Joomla\CMS\Factory::getContainer()->get('DatabaseDriver'); $mydb->setQuery("SELECT COUNT(ap_award_name) FROM all_productions_8_repeat WHERE parent_id = '11' AND ap_award_name > ' '"); $related_records = $mydb->loadResult(); return $related_records; : Since joomla/database 2.2.0: The parameter $new is deprecated and will be removed in 4.0, use Joomla\Database\DatabaseDriver::createQuery() instead."
I'm also seeing another, very similar, message on Form and Detail pages:
"An error has occurred with a eval'd field - please inform the web-site owner. Debug: Eval exception : ap_awards (id 12)::_getV() : ..." (the rest is same as above)
The element referred to is a CALC element but my calculation doesn't use $new so I'm not sure where the problem lies.
One other point: I couldn't update to the latest version of Fabrik via Joomla updater (timeout error) so I downloaded F4.0, FTP'd it to a new folder, extracted it and installed via the "Install from folder" option.
Any suggestions would be gratefully accepted.
I have a test site which I have just updated from F4.0delta J4.3.2 to F4.0 (Official release) J4.4.2 which seemed to work fine. Then I upgraded to J5.0.2 and I'm now getting an error message on most, but not all, Lists:
"An error has occurred with a eval'd field - please inform the web-site owner. Debug: Eval exception : ap_awards (id 12):reFormatFormJoins() : //counts and displays number of rows in the Awards Group, using id of each record $mydb = Joomla\CMS\Factory::getContainer()->get('DatabaseDriver'); $mydb->setQuery("SELECT COUNT(ap_award_name) FROM all_productions_8_repeat WHERE parent_id = '11' AND ap_award_name > ' '"); $related_records = $mydb->loadResult(); return $related_records; : Since joomla/database 2.2.0: The parameter $new is deprecated and will be removed in 4.0, use Joomla\Database\DatabaseDriver::createQuery() instead."
I'm also seeing another, very similar, message on Form and Detail pages:
"An error has occurred with a eval'd field - please inform the web-site owner. Debug: Eval exception : ap_awards (id 12)::_getV() : ..." (the rest is same as above)
The element referred to is a CALC element but my calculation doesn't use $new so I'm not sure where the problem lies.
One other point: I couldn't update to the latest version of Fabrik via Joomla updater (timeout error) so I downloaded F4.0, FTP'd it to a new folder, extracted it and installed via the "Install from folder" option.
Any suggestions would be gratefully accepted.