Announcement

#1 2016-08-07 09:27:06

mcgeepj2
Member
2016-01-25
48

Unknown PHP Warning in error_log

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

 

#2 2016-08-08 07:14:26

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Unknown PHP Warning in error_log

Hi :-)

Them e and plugin is up to date ?

What theme you use ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2016-08-08 07:21:01

mcgeepj2
Member
2016-01-25
48

Re: Unknown PHP Warning in error_log

Modus theme and yes theme and all extensions plugins are up to date.

Offline

 

#4 2016-08-08 12:16:39

eliz82
Member
Romania
2016-04-27
281

Re: Unknown PHP Warning in error_log

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

 

#5 2016-08-08 13:50:23

mcgeepj2
Member
2016-01-25
48

Re: Unknown PHP Warning in error_log

Great thanks!  I just finished upgrading to 2.8.2 a couple hours ago and sure enough, no more errors.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact