Support » Plugin: FeedWordPress » PHP Notice: Undefined variable: path in feedwordpress/feeds-page.php

  • Resolved Manzoor Wani

    (@manzoorwanijk)


    PHP Notice: Undefined variable: path in …/wp-content/plugins/feedwordpress/feeds-page.php on line 211

    You can find it here

    An easy fix would be
    if ( isset( $path ) && ( is_null( $path ) || strlen( trim( $path ) ) == 0 ) ) :
    but that will show the same notice for Line 215 and Line 217.

    So a better solution would be to set $path = ''; before Line 203 🙂

Viewing 1 replies (of 1 total)
  • Plugin Author C. Johnson

    (@radgeek)

    You’re right. Thanks for noticing and pointing this out. I made a quick change to the development branch of the code to prevent this problem; the fix should be included in the next public release of FeedWordPress.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice: Undefined variable: path in feedwordpress/feeds-page.php’ is closed to new replies.