Support » Plugin: WPBook Lite » [Plugin: WPBook Lite] $response undefined in wpbook_lite_cron

  • Resolved Jeffrey Schutzman

    (@jeffpyebrookcom)


    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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Eckman

    (@johneckman)

    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.

    Plugin Author John Eckman

    (@johneckman)

    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!

    Plugin Author John Eckman

    (@johneckman)

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WPBook Lite] $response undefined in wpbook_lite_cron’ is closed to new replies.