WordPress.org

Ready to get started?Download WordPress

Forums

Pinterest Pinboard Widget
[resolved] Get Notice about undefined property (3 posts)

  1. trime
    Member
    Posted 1 year ago #

    Hi there,

    I get this notice (what messes my blog):

    Notice: Undefined property: Pinterest_Pinboard_Widget::$is_secure in .../wp-content/plugins/pinterest-pinboard-widget/pinterest-pinboard-widget.php on line 190

    Notice: Use of undefined constant title - assumed 'title' in
    .../wp-content/plugins/pinterest-pinboard-widget/pinterest-pinboard-widget.php on line 203 Notice: Use of undefined constant image - assumed 'image' in .../wp-content/plugins/pinterest-pinboard-widget/pinterest-pinboard-widget.php on line 204

    Notice: Use of undefined constant url - assumed 'url' in .../wp-content/plugins/pinterest-pinboard-widget/pinterest-pinboard-widget.php on line 205

    Can I fix this? Would you please help?

    http://wordpress.org/extend/plugins/pinterest-pinboard-widget/

  2. codefish
    Member
    Plugin Author

    Posted 1 year ago #

    The first 'is_secure' I fixed in the code that will be released in version 1.0.3. The errors in lines 203,204 and 205 have to do with variables not being populated properly..

    can tell me which pinterest user you get the errors for?

  3. rubbermike
    Member
    Posted 10 months ago #

    Undefined constants error still exists in 1.03

    Change lines 206 - 209 in pinterest-pinboard-widget.php to:


    array_push($pins, array(
    "title" => $title,
    "image" => $image,
    "url" => $url

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags