WordPress.org

Ready to get started?Download WordPress

Forums

WP-LESS
[resolved] property of non-object in Plugin.class.php ln 70 (5 posts)

  1. Sjeiti
    Member
    Posted 2 years ago #

    Just installed wp-less into wp3.3 and this happens...

    Notice: Trying to get property of non-object in (...)\wp-content\plugins\wp-less\lib\Plugin.class.php on line 70

    Seems WP_Styles doesn't have 'queue' ???

    http://wordpress.org/extend/plugins/wp-less/

  2. Sjeiti
    Member
    Posted 2 years ago #

    Ohno... wait... it's your getStyles function returning '1' and not the actual WP_Styles object.

    Btw: wp-less1.2 doesn't throw the error but doesn't parse anything either (1.3 throws same error).

  3. Sjeiti
    Member
    Posted 2 years ago #

    Maybe you're not using the right hook? In Plugin.class.php on line 174, if I use 'wp_head' instead of 'wp' the getStyles will return the correct object.
    Still no parsed stylesheet appearing in my head though... :-(

  4. oncletom
    Member
    Plugin Author

    Posted 2 years ago #

    Is there anyone else talking in this thread?

    It's like many people were talking but I see only messages from Sjeiti.

  5. syndrael
    Member
    Posted 2 years ago #

    Yes, you are right.. Changing this line will delete the error message..
    Thanks for your help, i'm trying to make this plugins functionnal.
    WP 3.3.2 and WP-Less 1.4.2
    I'm going on my investigations..
    S.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags