PHP Warnings on Version 1.4.5
-
Hello,
First of all I would like to thank you for the great plugin.
However, in my local development environment. I have received the following alert:
Warning: Illegal offset type in isset or empty in /app/public/wp-content/plugins/ilab-media-tools/classes/tools/s3/ilab-media-s3-tool.php on line 1012
I tested with the following PHP versions: 7.1.4, 7.0.3, 5.6.20 and 5.5.38. On all versions I received the same alert.
WP = 4.8.1 Plugin = 1.4.5
I think the problem is related to …
$meta=wp_get_attachment_metadata($id); if (!isset($meta['sizes']) || !isset($meta['sizes'][$size])) { return $fail; }
because when I commented this. Alerts have disappeared.
Thank you in advance for your attention.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Warnings on Version 1.4.5’ is closed to new replies.