• Fabrik4.5.3 for J!5.3.0 and J!4.2+is out

    You must update from Fabrik4.5.1 if you are running Joomla!5.3.0

    See Announcements

Fixed Error 500 while searching list using filter

Hello,

After migrating my site to a new server with PHP 8.2.27, MySQL 8.0.41, and Joomla 4.4.12, I encountered the following error message when filtering my list on certain elements (user, database join):

"500 Fabrik has generated an incorrect query for the list gestione: <br /><br /><pre>Illegal argument to a regular expression.</pre>"

Any idea why and how to solve it, please?
 
Thank you for your reply. Please find below the screenshot displaying the error stack

1742070007054.png
 
You'll also have to adapt line 5718.

We'll have to test if this will break older MySQL DBs.

I only have access to MariaDBs. There it seems both versions are ok.
 
No, it's $v there (not $value)

$v = "\"\\\\b" . $v . "\\\\b\"";

I don't have an example for this array value, so not tested.
 
I have tested the fix on my old site with the old MySql DB and it is working too. However, the line numbers are different than the ones you have on Bitbucket.

1742140036855.png
 
Which code did you test exactly? The complete commit including the version check etc?

The line numbers have changed because of the version check and start/end variables added (so old line 5728 is 5739 now).
 

Members online

No members online now.
Back
Top