Greetings,
This is now showing up in my error_log and I don't know what plugin it's for or how to exactly fix it.
PHP Warning: preg_replace_callback(): Requires argument 2, 'stripslashes('\1').mb_convert_case(stripslashes('\3'),MB_CASE_UPPER, 'UTF-8')', to be a valid
callback in /home1/patsworl/public_html/f-106deltadart/piwigo/include/smarty/libs/plugins/modifier.capitalize.php on line 43
Help??
Pat
Piwigo version: 2.7.4
PHP version: 5.6.24
MySQL version: 5.5.42
Piwigo URL: http://www.f-106deltadart.com/piwigo/
Offline
Hi :-)
Them e and plugin is up to date ?
What theme you use ?
Offline
Modus theme and yes theme and all extensions plugins are up to date.
Offline
this has been discussed: http://piwigo.org/forum/viewtopic.php?pid=158944
new (php version) + old (smarty library) = (your) error
Piwigo 2.8.x has a newer smarty library that is compatible with php 5.5+
I think the error it's appearing on some themes that try to modify the pictures/albums titles (to convert to big letters). is not a critical error.
Last edited by eliz82 (2016-08-08 12:17:40)
Offline
Great thanks! I just finished upgrading to 2.8.2 a couple hours ago and sure enough, no more errors.
Offline