Error Warning: preg_replace() [function.preg-replace]: Unkno

jamesd 28 May, 2011
Hi,
I have 2 chronoforms on my website I am getting an error with the second chronoform.
The error is:
Warning: preg_replace() [function.preg-replace]: Unknown modifier 'a' in /home/wwwladyd/public_html/components/com_chronoforms/libraries/includes/data_republish.php on line 135

Anyone else had this problem?

Thanks
James
GreyHead 28 May, 2011
Hi James,

First off, you can hide PHP warnings by setting Error Reporting to either 'System Default' or 'None' in your global site administration.

This particular error is the part of the code that tries to identify the selected option in a drop-down list. I suspect that one of your options has a / in it. If there is one, please remove it and the error will probably go away.

Bob
jamesd 28 May, 2011
Hi Bob,
Your right I had an / in the form elements name. I removed it and and now there is no errors.
Thanks🙂
hanji 16 Oct, 2011
Could you kindly help me?

Warning: preg_match() [function.preg-match]: Unknown modifier 'j' in /home/coper2/www/coper/modules/mod_chronocontact/helper.php(148) : eval()'d code on line 6

chrono contact 3.1 RC4.11
Joomla 1.5.23
MySQL5
PHP5

Where should I look for the solution?
GreyHead 16 Oct, 2011
Hi hanji,

Please upgrade to ChronoForms v3 RC3.2

Bob
This topic is locked and no more replies can be posted.