-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to Smarty 3 #2048
Comments
what version of php are you using? |
Might have been the latest |
Ah, I hit this today as well (when playing around with the thinkup.com branch). The deprecation is a PHP 5.5 issue (see the Changelog on Rather than forcing and update to Smarty 3, it looks like the Smarty project recently released an update, version 2.6.28, which resolves the warnings. I've got a branch together that updates the Smarty version, so hopefully I can get this updated soon. |
PHP 5.5 has deprecated a PCRE pattern, and Smarty 2.6.26 triggers that warning on preg_replace. Smarty's 2.6.28 release updates the library to be PHP 5.5 safe
Great @sarcas ! |
Issue #2048: fix preg_replace deprecation warning
PHP 5.5 has deprecated a PCRE pattern, and Smarty 2.6.26 triggers that warning on preg_replace. Smarty's 2.6.28 release updates the library to be PHP 5.5 safe
Thanks again to @sarcas for updating the Smarty 2.6 version; that is now merged into master. However, I am going to keep this ticket open because I'd like to upgrade to Smarty 3 at some point (hopefully soon). |
That is also great! @ginatrapani |
PHP 5.5 has deprecated a PCRE pattern, and Smarty 2.6.26 triggers that warning on preg_replace. Smarty's 2.6.28 release updates the library to be PHP 5.5 safe
Just happened to come across this http://tech.blog.box.com/2014/09/box-open-source-introducing-brainy/ |
Smarty 3 has been out since 2010. It's time to upgrade ThinkUp.
http://smarty-php.googlecode.com/svn/trunk/distribution/SMARTY_2_BC_NOTES.txt
The text was updated successfully, but these errors were encountered: