• Resolved oemam

    (@oemam)


    If you include a rss-stream which result an error and also an empty array (2 empty array elements received), a error will be shown (result in a 500 server error)
    PHP Warning: strpos() expects parameter 1 to be string, array given in /wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php on line 615
    multiple times.

    I thought it might be good check the response before line 615 and if it is an array, implode it with empty separator-sign to a string. so the error will not happen.

    ...
    // 615
    if (is_array($error)) $error = implode('',$error);
    if ( @strpos($error), 'SSL certificate' ) !== false ) {
    ...

    should then work fine.
    You may like to integrate a fix like this?

    We got the latest update of the module on our server, also the newest wordpress-version and php 7.3.

    • This topic was modified 4 years, 10 months ago by oemam.
    • This topic was modified 4 years, 10 months ago by oemam.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Failed RSS-stream include force error’ is closed to new replies.