You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
When a product without an image matches RSS feed filter criteria and PHP's display_errors option is set to On, the RSS feed will also output warning:
Warning: Trying to access array offset on value of type bool in /path/to/wordpress/wp-content/plugins/smaily-for-woocommerce/inc/Base/DataHandler.php on line 105
Steps for reproducing
Enable display_errors = On for your WordPress installation.
Go to your WordPress site admin.
Create a product without an image.
Go to Smaily for WooCommerce settings and create an RSS feed URL returning created product.
Navigate to the RSS feed URL.
Expected behavior
Missing product image is handled gracefully.
Actual behavior
A warning is displayed to the end user, breaking the RSS feed.
Versions
WordPress 6.6.1
WooCommerce 9.1.4
Smaily for WooCommerce 1.11.2
The text was updated successfully, but these errors were encountered:
Bug description
When a product without an image matches RSS feed filter criteria and PHP's
display_errors
option is set toOn
, the RSS feed will also output warning:Steps for reproducing
display_errors = On
for your WordPress installation.Expected behavior
Missing product image is handled gracefully.
Actual behavior
A warning is displayed to the end user, breaking the RSS feed.
Versions
WordPress 6.6.1
WooCommerce 9.1.4
Smaily for WooCommerce 1.11.2
The text was updated successfully, but these errors were encountered: