Announcement

#1 2024-01-02 19:41:24

mendip_discovery
Member
Mendip Hills, Somerset, UK
2012-05-19
91

Undefined array key "rate"

Evening All

I have just been looking at the weblogs tonight and I am seeing a lot of,
PHP Warning: Undefined array key "rate" in /gallery/picture.php on line 323

I also while syncing a new batch of photos last night I had some random error,
PHP Deprecated: Creation of dynamic property Inflector_en::$er2ing is deprecated in /gallery/include/inflectors/en.php on line 82; PHP message: PHP Deprecated: Creation of dynamic property Inflector_en::$ing2er is deprecated in /gallery/include/inflectors/en.php on line 87', referer: https://gallery.jackstringer.co.uk/admi … ch_manager

Environment
    Piwigo 14.1.0
    Installed on 2 May 2012, 11 years 8 months ago
    Operating system: Linux
    PHP: 8.2.14 (Show info) [2024-01-02 18:36:01]
    MySQL: 10.11.6-MariaDB-1:10.11.6+maria~deb11 [2024-01-02 18:36:01]
    Graphics Library: ImageMagick 6.9.11-60
    Cache size 7583.83 Mo   calculated 1 week ago Refresh

Activated plugin list 4
    Add < head > element
    Exif View
    Piwigo Failed Login logger
    RV sitemap

Piwigo URL: http://gallery.jackstringer.co.uk

Offline

 

#2 2024-05-17 19:51:43

Linty
Piwigo Team
2023-11-03
7

Re: Undefined array key "rate"

Hello,

I've found a temporary solution while we fix this problem in a future update.
You need to modify the "include/inflectors/en.php" file.

And after line 13 :

Code:

private $singularizers;

You need to add

Code:

private $er2ing;
private $ing2er;

See you soon,
Linty

Offline

 

Board footer

Powered by FluxBB

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