Introduced in Piwigo 14.4.0, new bug on synchronization:
Fatal error: Cannot redeclare strip_html_in_metadata() (previously declared in include/functions_metadata.inc.php:186) in include/functions_metadata.inc.php on line 186
That is because the function strip_html_in_metadata is declared inside the function get_exif_data which can be called more than once.
Introduced in Piwigo 14.4.0, new bug on synchronization:
> Fatal error: Cannot redeclare strip_html_in_metadata() (previously declared in include/functions_metadata.inc.php:186) in include/functions_metadata.inc.php on line 186
That is because the function `strip_html_in_metadata` is declared inside the function `get_exif_data` which can be called more than once.
<!-- github-sync-id:2250553311 -->
I'm seeing this as well when I run sync
Fatal error: Cannot redeclare strip_html_in_metadata() (previously declared in /app/www/public/include/functions_metadata.inc.php:186) in /app/www/public/include/functions_metadata.inc.php on line 186
Not sure that I'm doing anything bad per say... :(.
Is there a fix?
I'm seeing this as well when I run sync
Fatal error: Cannot redeclare strip_html_in_metadata() (previously declared in /app/www/public/include/functions_metadata.inc.php:186) in /app/www/public/include/functions_metadata.inc.php on line 186
Not sure that I'm doing anything bad per say... :(.
Is there a fix?
<!-- github-comment-id:2076631428 -->
I'm seeing this as well when I run sync Fatal error: Cannot redeclare strip_html_in_metadata() (previously declared in /app/www/public/include/functions_metadata.inc.php:186) in /app/www/public/include/functions_metadata.inc.php on line 186
Not sure that I'm doing anything bad per say... :(. Is there a fix?
Make a backup of the problem file
Open the file in an editor
Cut and paste the block of code in fix 2150
Save and try
> I'm seeing this as well when I run sync Fatal error: Cannot redeclare strip_html_in_metadata() (previously declared in /app/www/public/include/functions_metadata.inc.php:186) in /app/www/public/include/functions_metadata.inc.php on line 186
>
> Not sure that I'm doing anything bad per say... :(. Is there a fix?
- Make a backup of the problem file
- Open the file in an editor
- Cut and paste the block of code in fix 2150
- Save and try
<!-- github-comment-id:2109252624 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Introduced in Piwigo 14.4.0, new bug on synchronization:
That is because the function
strip_html_in_metadatais declared inside the functionget_exif_datawhich can be called more than once.I'm seeing this as well when I run sync
Fatal error: Cannot redeclare strip_html_in_metadata() (previously declared in /app/www/public/include/functions_metadata.inc.php:186) in /app/www/public/include/functions_metadata.inc.php on line 186
Not sure that I'm doing anything bad per say... :(.
Is there a fix?
This is kind of a breaking bug... any chance the "latest" version on the website could be rolled back to 14.3?