-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
Describe the bug
When trying to optimize images from the 'Other media' page, I get the following error on PHP:
[02-Jun-2021 22:15:22 UTC] PHP Fatal error: Uncaught Exception: Serialization of 'CURLFile' is not allowed in /home/site/public_html/wp-content/plugins/imagify-tools/functions/common.php:101
Stack trace:
#0 /home/site/public_html/wp-content/plugins/imagify-tools/functions/common.php(101): serialize(Array)
#1 /home/site/public_html/wp-content/plugins/imagify-tools/classes/class-imgt-logs.php(653): imagify_tools_compress_data(Array)
#2 /home/site/public_html/wp-content/plugins/imagify-tools/classes/class-imgt-logs.php(609): IMGT_Logs::insert_log(Array, Array)
#3 /home/site/public_html/wp-content/plugins/imagify-tools/classes/class-imgt-logs.php(520): IMGT_Logs->save_logs(Array)
#4 /home/site/public_html/wp-includes/class-wp-hook.php(292): IMGT_Logs->save_current_logs('')
#5 /home/site/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#6 /home/site/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#7 /home/site/public_html/wp-includes/load.php(1072): do_action( in /home/site/public_html/wp-content/plugins/imagify-tools/functions/common.php on line 101
To Reproduce
Steps to reproduce the behavior:
- Go to 'Other media'
- Selected all unoptimized files from the page
- Clicked in batch actions -> optimize
- Error pops in the debug log
Expected behavior
The images should be optimized.
Screenshots
Not applicable.
Additional context
Not applicable.
Backlog Grooming (for WP Media dev team use only)
- Reproduce the problem
- Identify the root cause
- Scope a solution
- Estimate the effort
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels