• Resolved loris60

    (@loris60)


    When $feed_items are empty, the code returns $content without closing element tag (</div>)
    line 656 of feedzy-rss-feeds-admin-abstract.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Thanks for reaching out.

    I have checked the file you mentioned and I can see that the $content variable is being built using the concat operator and it’s also closing the </div> tag -> https://prntscr.com/n78rj3

    Could you please let us know what version of the plugin you are currently using and if you are not using the latest, could you please try to update the plugin?

    Thank you for your time.

    Thread Starter loris60

    (@loris60)

    Thank you for the quick answer.
    I am using the last version of the plugin: 3.3.5
    The problem i see is in the file feedzy-rss-feeds\includes\abstract\feedzy-rss-feeds-admin-abstract.php. on line 654-57

    		if ( empty( $feed_items ) ) {
    			$content .= $sc['error_empty'];
    			return $content;
    		}
    

    I suppose should be

    
    		if ( empty( $feed_items ) ) {
    			$content .= $sc['error_empty'];
    		        $content .= '</ul> </div>';
    			return $content;
    		}
    

    Hello again,

    Thank you for pointing me in the right direction.

    I have checked that file again and I can see that the tags are being closed right above this if statement. Here is a screenshot that should explain -> https://prntscr.com/nc3axm

    Does it look the same way from your end?

    Hello again,

    I have had another look and it looks like the ul tag is not being closed after that and we will correct this in one of the future releases. However, we cannot say for sure when we will release this fix.

    Thank you for bringing this to our attention.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Code error’ is closed to new replies.