-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.Indicates the request came from a customer.regressionIssue represents a change in behavior from a previous version that is not intended or desired..Issue represents a change in behavior from a previous version that is not intended or desired..releasedIndicate that an issue has been resolved and released in a particular version of the product.Indicate that an issue has been resolved and released in a particular version of the product.
Description
Description
Ticket WP org: https://wordpress.org/support/topic/5-0-8-breaks-site/
Ticket Helpscout: https://secure.helpscout.net/conversation/3019999191/469432?viewId=212385
The feedzy_retrieve_image
function can return an array, which causes the feedzy_image_encode
function to throw a fatal error.
ncaught TypeError: ltrim(): Argument #1 ($string) must be of type string, array given in /wp-includes/formatting.php:4486 Stack trace: #0 /wp-includes/formatting.php(4486): ltrim(Array) #1 /wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php(1876): esc_url(Array) #2 /wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php(1419): Feedzy_Rss_Feeds_Admin_Abstract->feedzy_image_encode(Array) #3 /wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php(1367): Feedzy_Rss_Feeds_Admin_Abstract->get_feed_item_filter(Array, Array, Object(SimplePie\Item), Array, 0, 0) #4 /wp-includes/class-wp-hook.php(324): Feedzy_Rss_Feeds_Admin_Abstract->get_feed_array(Array, Array, Object(Feedzy_Rss_Feeds_Util_SimplePie), Array, Array) #5 /wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #6 /wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php(1135): apply_filters(‘feedzy_get_feed…’, Array, Array, Object(Feedzy_Rss_Feeds_Util_SimplePie), Array, Array) #7 /wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php(503): Feedzy_Rss_Feeds_Admin_Abstract->render_content(Array, Object(Feedzy_Rss_Feeds_Util_SimplePie), Array, ”) #8 /wp-content/plugins/feedzy-rss-feeds/includes/feedzy-rss-feeds-feed-tweaks.php(226): Feedzy_Rss_Feeds_Admin_Abstract->feedzy_rss(Array) #9 /wp-content/plugins/feedzy-rss-feeds/includes/admin/feedzy-wp-widget.php(257): feedzy_rss(Array) #10 /wp-includes/class-wp-widget.php(394): feedzy_wp_widget->widget(Array, Array) #11 /wp-includes/widgets.php(845): WP_Widget->display_callback(Array, Array) #12 /wp-content/themes/Divi/includes/builder/module/Sidebar.php(206): dynamic_sidebar(‘et_pb_widget_ar…’) #13 /wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Module_Sidebar->render(Array, ”, ‘et_pb_sidebar’, ”, ”, ”, ”, ”) #14 /wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, ”, ‘et_pb_sidebar’) #15 [internal function]: do_shortcode_tag(Array) #16 /wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(et_pb_…’, ‘do_shortcode_ta…’, ‘[et_pb_menu men…’) #17 /wp-content/themes/Divi/includes/builder/main-structure-elements.php(3784): do_shortcode(‘[et_pb_menu men…’) #18 /wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Column->render(Array, ‘[et_pb_menu men…’, ‘et_pb_column’, ”, ”, ”, ”, ”) #19 /wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, ‘[et_pb_menu men…’, ‘et_pb_column’) #20 [internal function]: do_shortcode_tag(Array) #21 /wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(et_pb_…’, ‘do_shortcode_ta…’, ‘[et_pb_column t…’) #22 /wp-content/themes/Divi/includes/builder/main-structure-elements.php(2274): do_shortcode(‘[et_pb_column t…’) #23 /wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Row->render(Array, ‘[et_pb_column t…’, ‘et_pb_row’, ”, ”, ”, ”, ”) #24 /wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, ‘[et_pb_column t…’, ‘et_pb_row’) #25 [internal function]: do_shortcode_tag(Array) #26 /wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(et_pb_…’, ‘do_shortcode_ta…’, ‘[et_pb_row colu…’) #27 /wp-content/themes/Divi/includes/builder/main-structure-elements.php(1606): do_shortcode(‘[et_pb_row colu…’) #28 /wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Section->render(Array, ‘[et_pb_row colu…’, ‘et_pb_section’, ”, ”, ”, ”, ”) #29 /wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, ‘[et_pb_row colu…’, ‘et_pb_section’) #30 [internal function]: do_shortcode_tag(Array) #31 /wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(et_pb_…’, ‘do_shortcode_ta…’, ‘<div class=”et-…’) #32 /wp-includes/class-wp-hook.php(324): do_shortcode(‘<div class=”et-…’) #33 /wp-includes/plugin.php(205): WP_Hook->apply_filters(‘<div class=”et-…’, Array) #34 /wp-includes/post-template.php(256): apply_filters(‘the_content’, ‘[et_pb_section …’) #35 /wp-content/themes/Divi/page.php(46): the_content() #36 /wp-includes/template-loader.php(106): include(‘/home/houseps6/…’) #37 /wp-blog-header.php(19): require_once(‘/home/houseps6/…’) #38 /index.php(17): require(‘/home/houseps6/…’) #39 {main} thrown in /wp-includes/formatting.php on line 4486
Step-by-step reproduction instructions
- Use this feed
https://theprogressiveaspect.net/feed/
- Check the reported errors by
DEBUG
.
Screenshots, screen recording, code snippet or Help Scout ticket
No response
Environment info
No response
Is the issue you are reporting a regression
Yes, this is a regression.
Metadata
Metadata
Assignees
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.Indicates the request came from a customer.regressionIssue represents a change in behavior from a previous version that is not intended or desired..Issue represents a change in behavior from a previous version that is not intended or desired..releasedIndicate that an issue has been resolved and released in a particular version of the product.Indicate that an issue has been resolved and released in a particular version of the product.