erayalakese / slack-wordpress

WordPress Integration for Slack
MIT License
43 stars 12 forks source link

PHP Notice errors on admin page #27

Open metagard opened 9 years ago

metagard commented 9 years ago

Got the following ones at the top of every admin page:

Notice: Undefined property: stdClass::$slack_publish_post in /path/wp-content/plugins/slack-integration/inc/plugin.class.php on line 515

Notice: Undefined property: stdClass::$slack_trashed_post in /path/wp-content/plugins/slack-integration/inc/plugin.class.php on line 519

Notice: Undefined property: stdClass::$slack_trashed_page in /path/wp-content/plugins/slack-integration/inc/plugin.class.php on line 527

Notice: Undefined property: stdClass::$slack_create_category in /path/wp-content/plugins/slack-integration/inc/plugin.class.php on line 549

Notice: Undefined property: stdClass::$slack_delete_category in /path/wp-content/plugins/slack-integration/inc/plugin.class.php on line 553

Notice: Undefined property: stdClass::$slack_pingback_post in /path/wp-content/plugins/slack-integration/inc/plugin.class.php on line 557

Notice: Undefined property: stdClass::$slack_trackback_post in /path/wp-content/plugins/slack-integration/inc/plugin.class.php on line 561

Notice: Undefined property: stdClass::$slack_after_switch_theme in /path/wp-content/plugins/slack-integration/inc/plugin.class.php on line 565

Notice: Undefined property: stdClass::$slack_login_user in /path/wp-content/plugins/slack-integration/inc/plugin.class.php on line 577

Notice: Undefined index: page in /path/wp-content/plugins/slack-integration/inc/plugin.class.php on line 597

As well as Notices on pretty much every form element on the Settings > Slack page. The only one that shows with no errors is the section for "When a post updated".

Hope this helps.