{"action":"created","issue":{"url":"https://api.github.com/repos/kevinvess/wp-force-login/issues/18","repository_url":"https://api.github.com/repos/kevinvess/wp-force-login","labels_url":"https://api.github.com/repos/kevinvess/wp-force-login/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/kevinvess/wp-force-login/issues/18/comments","events_url":"https://api.github.com/repos/kevinvess/wp-force-login/issues/18/events","html_url":"https://github.com/kevinvess/wp-force-login/issues/18","id":144220221,"number":18,"title":"Plugin prevents the execution of WP-Cron","user":{"login":"marbetschar","id":392542,"avatar_url":"https://avatars.githubusercontent.com/u/392542?v=3","gravatar_id":"","url":"https://api.github.com/users/marbetschar","html_url":"https://github.com/marbetschar","followers_url":"https://api.github.com/users/marbetschar/followers","following_url":"https://api.github.com/users/marbetschar/following{/other_user}","gists_url":"https://api.github.com/users/marbetschar/gists{/gist_id}","starred_url":"https://api.github.com/users/marbetschar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbetschar/subscriptions","organizations_url":"https://api.github.com/users/marbetschar/orgs","repos_url":"https://api.github.com/users/marbetschar/repos","events_url":"https://api.github.com/users/marbetschar/events{/privacy}","received_events_url":"https://api.github.com/users/marbetschar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-29T10:13:50Z","updated_at":"2016-03-29T16:29:16Z","closed_at":null,"body":"I've installed the plugin from the wordpress repo and since then the WP-Cron stopped working.\r\nWhen I'm calling WP-Cron by using `wp cron schedule list` I only get the following:\r\n\r\n```\r\nPHP Notice:  Trying to get property of non-object in /var/www/.../htdocs/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66\r\nPHP Stack trace:\r\nPHP   1. {main}() /usr/bin/wp:0\r\nPHP   2. include() /usr/bin/wp:4\r\nPHP   3. include() phar:///usr/bin/wp/php/boot-phar.php:5\r\nPHP   4. WP_CLI\\Runner->start() phar:///usr/bin/wp/php/wp-cli.php:21\r\nPHP   5. WP_CLI\\Runner->load_wordpress() phar:///usr/bin/wp/php/WP_CLI/Runner.php:697\r\nPHP   6. require() phar:///usr/bin/wp/php/WP_CLI/Runner.php:736\r\nPHP   7. include() phar:///usr/bin/wp/php/wp-settings-cli.php:389\r\nPHP   8. require_once() /var/www/.../htdocs/wp-content/themes/enfold/functions.php:397\r\nPHP   9. avia_get_option() /var/www/.../htdocs/wp-content/themes/enfold/includes/admin/register-widget-area.php:65\r\nPHP Notice:  Undefined index: HTTP_HOST in /var/www/.../htdocs/wp-content/plugins/wp-force-login-master/wp-force-login.php on line 36\r\nPHP Stack trace:\r\nPHP   1. {main}() /usr/bin/wp:0\r\nPHP   2. include() /usr/bin/wp:4\r\nPHP   3. include() phar:///usr/bin/wp/php/boot-phar.php:5\r\nPHP   4. WP_CLI\\Runner->start() phar:///usr/bin/wp/php/wp-cli.php:21\r\nPHP   5. WP_CLI\\Runner->load_wordpress() phar:///usr/bin/wp/php/WP_CLI/Runner.php:697\r\nPHP   6. require() phar:///usr/bin/wp/php/WP_CLI/Runner.php:736\r\nPHP   7. do_action() phar:///usr/bin/wp/php/wp-settings-cli.php:405\r\nPHP   8. call_user_func_array:{/var/www/.../htdocs/wp-includes/plugin.php:525}() /var/www/.../htdocs/wp-includes/plugin.php:525\r\nPHP   9. v_forcelogin() /var/www/.../htdocs/wp-includes/plugin.php:525\r\nPHP Notice:  Undefined index: HTTP_HOST in /var/www/.../htdocs/wp-content/plugins/wp-force-login-master/wp-force-login.php on line 38\r\nPHP Stack trace:\r\nPHP   1. {main}() /usr/bin/wp:0\r\nPHP   2. include() /usr/bin/wp:4\r\nPHP   3. include() phar:///usr/bin/wp/php/boot-phar.php:5\r\nPHP   4. WP_CLI\\Runner->start() phar:///usr/bin/wp/php/wp-cli.php:21\r\nPHP   5. WP_CLI\\Runner->load_wordpress() phar:///usr/bin/wp/php/WP_CLI/Runner.php:697\r\nPHP   6. require() phar:///usr/bin/wp/php/WP_CLI/Runner.php:736\r\nPHP   7. do_action() phar:///usr/bin/wp/php/wp-settings-cli.php:405\r\nPHP   8. call_user_func_array:{/var/www/.../htdocs/wp-includes/plugin.php:525}() /var/www/.../htdocs/wp-includes/plugin.php:525\r\nPHP   9. v_forcelogin() /var/www/.../htdocs/wp-includes/plugin.php:525\r\nPHP Notice:  Undefined index: SERVER_PORT in /var/www/.../htdocs/wp-content/plugins/wp-force-login-master/wp-force-login.php on line 39\r\nPHP Stack trace:\r\nPHP   1. {main}() /usr/bin/wp:0\r\nPHP   2. include() /usr/bin/wp:4\r\nPHP   3. include() phar:///usr/bin/wp/php/boot-phar.php:5\r\nPHP   4. WP_CLI\\Runner->start() phar:///usr/bin/wp/php/wp-cli.php:21\r\nPHP   5. WP_CLI\\Runner->load_wordpress() phar:///usr/bin/wp/php/WP_CLI/Runner.php:697\r\nPHP   6. require() phar:///usr/bin/wp/php/WP_CLI/Runner.php:736\r\nPHP   7. do_action() phar:///usr/bin/wp/php/wp-settings-cli.php:405\r\nPHP   8. call_user_func_array:{/var/www/.../htdocs/wp-includes/plugin.php:525}() /var/www/.../htdocs/wp-includes/plugin.php:525\r\nPHP   9. v_forcelogin() /var/www/.../htdocs/wp-includes/plugin.php:525\r\nPHP Notice:  Undefined index: SERVER_PORT in /var/www/.../htdocs/wp-content/plugins/wp-force-login-master/wp-force-login.php on line 39\r\nPHP Stack trace:\r\nPHP   1. {main}() /usr/bin/wp:0\r\nPHP   2. include() /usr/bin/wp:4\r\nPHP   3. include() phar:///usr/bin/wp/php/boot-phar.php:5\r\nPHP   4. WP_CLI\\Runner->start() phar:///usr/bin/wp/php/wp-cli.php:21\r\nPHP   5. WP_CLI\\Runner->load_wordpress() phar:///usr/bin/wp/php/WP_CLI/Runner.php:697\r\nPHP   6. require() phar:///usr/bin/wp/php/WP_CLI/Runner.php:736\r\nPHP   7. do_action() phar:///usr/bin/wp/php/wp-settings-cli.php:405\r\nPHP   8. call_user_func_array:{/var/www/.../htdocs/wp-includes/plugin.php:525}() /var/www/.../htdocs/wp-includes/plugin.php:525\r\nPHP   9. v_forcelogin() /var/www/.../htdocs/wp-includes/plugin.php:525\r\nWarning: Some code is trying to do a URL redirect. Backtrace:\r\n#0  WP_CLI\\Utils\\wp_redirect_handler(http://.../wp-login.php?redirect_to=http%3A%2F%2F%3A)\r\n#1  call_user_func_array(WP_CLI\\Utils\\wp_redirect_handler, Array ([0] => http://.../wp-login.php?redirect_to=http%3A%2F%2F%3A)) called at [/var/www/.../htdocs/wp-includes/plugin.php:235]\r\n#2  apply_filters(wp_redirect, http://.../wp-login.php?redirect_to=http%3A%2F%2F%3A, 302) called at [/var/www/.../htdocs/wp-includes/pluggable.php:1208]\r\n#3  wp_redirect(http://.../wp-login.php?redirect_to=http%3A%2F%2F%3A, 302) called at [/var/www/.../htdocs/wp-includes/pluggable.php:1307]\r\n#4  wp_safe_redirect(http://.../wp-login.php?redirect_to=http%3A%2F%2F%3A, 302) called at [/var/www/.../htdocs/wp-content/plugins/wp-force-login-master/wp-force-login.php:49]\r\n#5  v_forcelogin()\r\n#6  call_user_func_array(v_forcelogin, Array ([0] => )) called at [/var/www/.../htdocs/wp-includes/plugin.php:525]\r\n#7  do_action(init) called at [phar:///usr/bin/wp/php/wp-settings-cli.php:405]\r\n#8  require(phar:///usr/bin/wp/php/wp-settings-cli.php) called at [phar:///usr/bin/wp/php/WP_CLI/Runner.php:736]\r\n#9  WP_CLI\\Runner->load_wordpress() called at [phar:///usr/bin/wp/php/WP_CLI/Runner.php:697]\r\n#10 WP_CLI\\Runner->start() called at [phar:///usr/bin/wp/php/wp-cli.php:21]\r\n#11 include(phar:///usr/bin/wp/php/wp-cli.php) called at [phar:///usr/bin/wp/php/boot-phar.php:5]\r\n#12 include(phar:///usr/bin/wp/php/boot-phar.php) called at [/usr/bin/wp:4]\r\n```"},"comment":{"url":"https://api.github.com/repos/kevinvess/wp-force-login/issues/comments/202985878","html_url":"https://github.com/kevinvess/wp-force-login/issues/18#issuecomment-202985878","issue_url":"https://api.github.com/repos/kevinvess/wp-force-login/issues/18","id":202985878,"user":{"login":"marbetschar","id":392542,"avatar_url":"https://avatars.githubusercontent.com/u/392542?v=3","gravatar_id":"","url":"https://api.github.com/users/marbetschar","html_url":"https://github.com/marbetschar","followers_url":"https://api.github.com/users/marbetschar/followers","following_url":"https://api.github.com/users/marbetschar/following{/other_user}","gists_url":"https://api.github.com/users/marbetschar/gists{/gist_id}","starred_url":"https://api.github.com/users/marbetschar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbetschar/subscriptions","organizations_url":"https://api.github.com/users/marbetschar/orgs","repos_url":"https://api.github.com/users/marbetschar/repos","events_url":"https://api.github.com/users/marbetschar/events{/privacy}","received_events_url":"https://api.github.com/users/marbetschar/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T16:29:16Z","updated_at":"2016-03-29T16:29:16Z","body":"Seems to work ... at least i receive now the schedules running the CLI. Need to do some further testing though, but it looks promising. Thank you very much!!"}}