-
Notifications
You must be signed in to change notification settings - Fork 130
Closed
Labels
[Plugin] Modern Image FormatsIssues for the Modern Image Formats plugin (formerly WebP Uploads)Issues for the Modern Image Formats plugin (formerly WebP Uploads)[Type] BugAn existing feature is brokenAn existing feature is broken
Milestone
Description
Bug Description
One user in the support forums reported the below error:
Uncaught Error: Cannot use object of type stdClass as array in /wp-content/plugins/performance-lab/modules/images/webp-uploads/rest-api.php:21 Stack trace:
#0 /wp-includes/class-wp-hook.php(307): webp_uploads_update_rest_attachment()
#1 /wp-includes/plugin.php(191): WP_Hook->apply_filters()
#2 /wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php(843): apply_filters()
#3 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(377): WP_REST_Attachments_Controller->prepare_item_for_response()
#4 /wp-includes/rest-api/class-wp-rest-server.php(1143): WP_REST_Posts_Controller->get_items()
#5 /mnt/data/home/502433.cloudw
Awaiting feedback from impacted user. No further details at present.
Screenshots
Additional Context
- PHP Version:
- OS: [e.g. iOS]
- Browser: [e.g. chrome, safari]
- Plugin Version: [e.g. 22]
- Device: [e.g. iPhone6]
Metadata
Metadata
Assignees
Labels
[Plugin] Modern Image FormatsIssues for the Modern Image Formats plugin (formerly WebP Uploads)Issues for the Modern Image Formats plugin (formerly WebP Uploads)[Type] BugAn existing feature is brokenAn existing feature is broken