WordPress.org

Ready to get started?Download WordPress

Forums

WPBook Lite
[resolved] $response undefined in wpbook_lite_cron (4 posts)

  1. Jeff Pye Brook
    Member
    Posted 2 years ago #

    The cron routine is referencing the undefined variable $response at line 124. After the initial error several more errors are thrown when the logic tries to use values derived from response.

    Not sure if this is a problem?

    [21-Aug-2012 10:35:59 UTC] PHP Notice: Undefined variable: response in H:\wamp\www\sparkle-gear.com\wp-content\plugins\wpbook-lite\includes\wpbook_lite_cron.php on line 124

    [21-Aug-2012 10:35:59 UTC] PHP Stack trace:

    [21-Aug-2012 10:35:59 UTC] PHP 1. {main}() H:\wamp\www\sparkle-gear.com\wp-cron.php:0

    [21-Aug-2012 10:35:59 UTC] PHP 2. do_action_ref_array() H:\wamp\www\sparkle-gear.com\wp-cron.php:92

    [21-Aug-2012 10:35:59 UTC] PHP 3. call_user_func_array() H:\wamp\www\sparkle-gear.com\wp-includes\plugin.php:484

    [21-Aug-2012 10:35:59 UTC] PHP 4. wpbook_lite_import_comments() H:\wamp\www\sparkle-gear.com\wp-includes\plugin.php:484

    [21-Aug-2012 10:35:59 UTC] PHP Notice: Undefined variable: response in H:\wamp\www\sparkle-gear.com\wp-content\plugins\wpbook-lite\includes\wpbook_lite_cron.php on line 127

    [21-Aug-2012 10:35:59 UTC] PHP Stack trace:

    [21-Aug-2012 10:35:59 UTC] PHP 1. {main}() H:\wamp\www\sparkle-gear.com\wp-cron.php:0

    [21-Aug-2012 10:35:59 UTC] PHP 2. do_action_ref_array() H:\wamp\www\sparkle-gear.com\wp-cron.php:92

    [21-Aug-2012 10:35:59 UTC] PHP 3. call_user_func_array() H:\wamp\www\sparkle-gear.com\wp-includes\plugin.php:484

    [21-Aug-2012 10:35:59 UTC] PHP 4. wpbook_lite_import_comments() H:\wamp\www\sparkle-gear.com\wp-includes\plugin.php:484

    [21-Aug-2012 10:35:59 UTC] PHP Notice: Trying to get property of non-object in H:\wamp\www\sparkle-gear.com\wp-content\plugins\wpbook-lite\includes\wpbook_lite_cron.php on line 130

    [21-Aug-2012 10:35:59 UTC] PHP Stack trace:

    [21-Aug-2012 10:35:59 UTC] PHP 1. {main}() H:\wamp\www\sparkle-gear.com\wp-cron.php:0

    [21-Aug-2012 10:35:59 UTC] PHP 2. do_action_ref_array() H:\wamp\www\sparkle-gear.com\wp-cron.php:92

    [21-Aug-2012 10:35:59 UTC] PHP 3. call_user_func_array() H:\wamp\www\sparkle-gear.com\wp-includes\plugin.php:484

    [21-Aug-2012 10:35:59 UTC] PHP 4. wpbook_lite_import_comments() H:\wamp\www\sparkle-gear.com\wp-includes\plugin.php:484

    http://wordpress.org/extend/plugins/wpbook-lite/

  2. johneckman
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for posting - there's definitely something wrong here.

    I'll have to look back at earlier versions to see what I was after with this error checking routine.

  3. johneckman
    Member
    Plugin Author

    Posted 1 year ago #

    Figured out the issue - will be checking out some other support threads and probably post a 1.5.1 of WPBook Lite later today.

    Thanks for posting!

  4. johneckman
    Member
    Plugin Author

    Posted 1 year ago #

    And in the process introduced other bugs. Actually now resolved in 1.5.2.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.