WordPress.org

Ready to get started?Download WordPress

Forums

Infinite-Scroll
[resolved] [Plugin: Infinite Scroll] undefined constant key_infscr_viewed_options (7 posts)

  1. Sjourney
    Member
    Posted 2 years ago #

    Jut flipped on WP_Debug and found the following warning:

    Notice: Use of undefined constant key_infscr_viewed_options - assumed 'key_infscr_viewed_options' in /home/thebaref/public_html/wordpress0/wp-content/plugins/infinite-scroll/wp_infinite_scroll.php on line 60

    http://wordpress.org/extend/plugins/infinite-scroll/

  2. beaver6813
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Sjourney, what version is this on?

  3. Sjourney
    Member
    Posted 2 years ago #

    Sorry for my poor posting etiquette. On WP 3.2.1 and 3.3 and Version 2.0b2.110713 of Infinite Scroll bar

  4. beaver6813
    Member
    Plugin Author

    Posted 2 years ago #

    This should be fixed in the latest version, can you try:
    http://downloads.wordpress.org/plugin/infinite-scroll.2.0b.111218RC2.zip

    Just download, unzip and overwrite your current infinite-scroll plugin.

  5. Sjourney
    Member
    Posted 2 years ago #

    Thanks, that corrected the issue.

  6. ulfben
    Member
    Posted 2 years ago #

    Haven't tried the 111218RC2 yet, but I want to add to the original report. There were several more notices in 110713:

    Viewing a page with Infinite Scroll:
    Notice: Use of undefined constant key_infscr_debug - assumed 'key_infscr_debug' in /[...]/wp_infinite_scroll.php on line 220

    Notice: Undefined variable: wp_query in /[...]/wp_infinite_scroll.php on line 224

    Notice: Trying to get property of non-object in /[...]/wp_infinite_scroll.php on line

    Admin:
    Notice: Use of undefined constant key_infscr_viewed_options - assumed 'key_infscr_viewed_options' in /[...]/wp_infinite_scroll.php on line 352

    Notice: Use of undefined constant key_infscr_debug - assumed 'key_infscr_debug' in /[...]/wp_infinite_scroll.php on line 411

    These might all have been corrected with the latest RC - I just needed to get them out of my todolist. :)

    Thanks for a brilliant plugin!

  7. beaver6813
    Member
    Plugin Author

    Posted 2 years ago #

    @ulfben Thanks for the heads up! This is all fixed in the latest RC, (link above). Since then I rewrote the options code and was careful to avoid any notice situations ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic