How can I fix and get rid of this message that appears all over the place:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/s1002196/public_html/ausgen/includes/functions/functions_print.php on line 1483
My version appears to be 4.3
Regards
Roland
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, I just copied the functions_print.php from phpgedview-svn-7163-trunk\phpgedview-svn-7163-trunk to my install. Seems to have fixed the issue. Was this the best fix?
Cheers
Roland
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now to the next error: Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/s1002196/public_html/ausgen/includes/classes/class_gedcomrecord.php on line 440
Wondering if I should replace this file as well?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's NOT a good idea to just replace a portion of the software. You need to replace the entire set of files in order to be absolutely SURE that you are up-to-date.
There have been many fixes since the preg_replace fix was implemented. Quite a few of these deal with errors that were reported with PHP versions beyond 5.3.x.
If you wish, you can download a ZIP file of the whole works (minus a number of useless and not-working modules). Please e-mail me directly at gkroll (at) keldine (dot) ca so that I can make the download URL available to you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi guys,
How can I fix and get rid of this message that appears all over the place:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/s1002196/public_html/ausgen/includes/functions/functions_print.php on line 1483
My version appears to be 4.3
Regards
Roland
OK, I just copied the functions_print.php from phpgedview-svn-7163-trunk\phpgedview-svn-7163-trunk to my install. Seems to have fixed the issue. Was this the best fix?
Cheers
Roland
Now to the next error: Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/s1002196/public_html/ausgen/includes/classes/class_gedcomrecord.php on line 440
Wondering if I should replace this file as well?
Yep, copying that file across fixed that as well!
It's NOT a good idea to just replace a portion of the software. You need to replace the entire set of files in order to be absolutely SURE that you are up-to-date.
There have been many fixes since the preg_replace fix was implemented. Quite a few of these deal with errors that were reported with PHP versions beyond 5.3.x.
If you wish, you can download a ZIP file of the whole works (minus a number of useless and not-working modules). Please e-mail me directly at gkroll (at) keldine (dot) ca so that I can make the download URL available to you.