Open crisc2000 opened 6 years ago
this is because $active_permalinks is not defined as an empty array before looping (like $missing_permalinks is). so if no permalink exist already in the database, when is called as a function argument it give an error.
I had 31 physical albums with no permalinks created. When I pressed "generate permalinks" button, I got this errors:
But the permalinks where successfully created.
Then I manually added a new virtual subalbum in one of those physical albums. I pressed "generate permalinks" again. No error second time.
PHP: 5.6 Piwigo: 2.9.2 Other plugins: Admin tools, Local files editor