Happy Days! I'll give it a go, thanks
OHappyDay wrote:
The plugins have been updated. Please go to
Tools --> Update --> Tab "Plugins"
You should see available updates for plugins. Updating the plugins before upgrading to 15.0.0 is recommended.
This worked for me.
The plugins have been updated. Please go to
Tools --> Update --> Tab "Plugins"
You should see available updates for plugins. Updating the plugins before upgrading to 15.0.0 is recommended.
This worked for me.
Any news on this, please? My site is heavily reliant on OSM.
plg wrote:
OHappyDay wrote:
Should I wait for a compatible version?
We're working on it. You'd better wait a few days for a compatible version if you need these plugins.
plg wrote:
For your information, for Piwigo 15, the minimum technical version of PHP is 7.1 (and we just discovered a bug with PHP 7.2, that we're going to fix) but the minimum version we ask users to have is 7.4. We will certainly increase it to 8 for Piwigo 16.
Thank you for the heads up. In fact using 7.1 right now.
Is this a new feature in P15 that opening any gallery I get some new button "Search in this set" which ends up with error message:
Fatal error: Uncaught Error: Call to undefined function array_key_first() in /var/www/html/galerii/include/functions_search.inc.php:717 Stack trace: #0 /var/www/html/galerii/include/functions_search.inc.php(2016): get_regular_search_results(Array, '') #1 /var/www/html/galerii/include/section_init.inc.php(364): get_search_results('psk-20241108-rq...', NULL) #2 /var/www/html/galerii/index.php(12): include('/var/www/html/g...') #3 {main} thrown in /var/www/html/galerii/include/functions_search.inc.php on line 717
Luckily I can disable it in Configuration > Options > Display > Main Page > [ ] Activate button "Search in this set";
[ ] Activate icon "Search in this set".
Seems to be function added to PHP 7.3+, which I don't have. If I wanted to add given function at https://www.php.net/manual/en/function. … -first.php "Notes" part as temporary workaround, where would be the best place to put it? ( I don't think just before line 717 in functions_search.inc.php would be best place, as this function might be used elsewhere in the code also ) Or better yet could you please add it to Piwigo 15.1 or something? :-)
For your information, for Piwigo 15, the minimum technical version of PHP is 7.1 (and we just discovered a bug with PHP 7.2, that we're going to fix) but the minimum version we ask users to have is 7.4. We will certainly increase it to 8 for Piwigo 16.
deemon wrote:
Just because you can (in PHP 8+), doesn't mean you should
Just because you can use PHP 7.4 it doesn't mean you should.
Thank you for the great improvements. I am very pleased that Piwigo is constantly being developed further. I am sure that Piwigo will remain the best photo forum in the future :-)
Linty wrote:
It's a problem we no longer have in PHP8+, and as you said, the minimum version for Piwigo is PHP 7.4, so the problem will be solved for Piwigo 15.1.0
Thank you.
Linty wrote:
To add a little context, this way of adding a comma like this is because for commits on github it's much cleaner, you can see an example here : https://spatie.be/courses/front-line-ph … efinitions
Just because you can (in PHP 8+), doesn't mean you should, while it breaks backwards compatibility.
Just for aesthetics (and not even the code itself, which looks now more ugly IMHO and longer (with extra unnecessary commas)... just git commits are slimmer) and zero functional benefit. Right? ;-)
deemon wrote:
erAck wrote:
Are you still using PHP 7?
yes. as it's still written on minimum requirements page.
Hello,
It's a problem we no longer have in PHP8+, and as you said, the minimum version for Piwigo is PHP 7.4, so the problem will be solved for Piwigo 15.1.0
To add a little context, this way of adding a comma like this is because for commits on github it's much cleaner, you can see an example here : https://spatie.be/courses/front-line-ph … efinitions
erAck wrote:
Are you still using PHP 7?
yes. as it's still written on minimum requirements page.
Are you still using PHP 7?
Admin -> Photos -> Recent Photos ( https://<ip>/admin.php?page=batch_manager&filter=prefilter-last_import )
Parse error: syntax error, unexpected ')' in /var/www/html/galerii/admin/include/batch_manager_filters.inc.php on line 121
Admin -> Photos -> Batch Manager ( https://<ip>/admin.php?page=batch_manager )
Parse error: syntax error, unexpected ')' in /var/www/html/galerii/admin/include/batch_manager_filters.inc.php on line 121
119 $selected_category_name = get_cat_display_name_from_id( 120 $selected_category, 121 );
removed the comma on line 120:
119 $selected_category_name = get_cat_display_name_from_id( 120 $selected_category 121 );
and it works now without error.
Thanks for updating the plugins too. I successfully upgraded to 15.0.0
No issues (yet).
I was just beginning to look for an easier solution to storing and viewing pdf's... and voila! Version 15 was released! Woo Hoo for me! Thanks!
Seamless upgrade, thank you!