'

MKP Base Report

The “report” action is the same as the “log” action. Here is an example:

mkp_base verbose message=’This is a diagnostic message which will use the notify code to have the message popup on the screen.’ report show_diagnostics]

Output:

MKP Plugins: This is a diagnostic message which will use the notify code to have the message popup on the screen.

Diagnostic Logfile Contents

Logfile: /nas/content/live/mkpusaws/wp-content/MKP Plugins_29.log

10/23/19 05:38:03->MKP Plugins: Logfile [/nas/content/live/mkpusaws/wp-content/MKP Plugins_29.log] cleared
10/23/19 05:38:03->MKP Plugins: Getting name=[show_diagnostics] code=[show_diagnostics] value=[true]
10/23/19 05:38:03->MKP Plugins: Doing code=[show_diagnostics] name=[show_diagnostics] value=[true]
10/23/19 05:38:03->MKP Plugins: Getting name=[message] code=[message] value=[my message]
10/23/19 05:38:03->MKP Plugins: Getting name=[log] code=[log] value=[true]
10/23/19 05:38:03->MKP Plugins: Getting name=[show_diagnostics] code=[show_diagnostics] value=[true]
10/23/19 05:38:03->MKP Plugins: Doing code=[message] name=[message] value=[my message]
10/23/19 05:38:03->MKP Plugins: Doing code=[log] name=[log] value=[true]
10/23/19 05:38:03->MKP Plugins: my message
10/23/19 05:38:03->MKP Plugins: Doing code=[show_diagnostics] name=[show_diagnostics] value=[true]
10/23/19 05:38:03->MKP Plugins: Getting name=[option] code=[show_all_igroups] value=[false]
10/23/19 05:38:03->MKP Plugins: Getting name=[option] code=[function] value=[my_handler]
10/23/19 05:38:03->MKP Plugins: Getting name=[set_option] code=[set_option] value=[true]
10/23/19 05:38:03->MKP Plugins: Getting name=[show_options] code=[show_options] value=[true]
10/23/19 05:38:03->MKP Plugins: Doing code=[show_all_igroups] name=[option] value=[false]
10/23/19 05:38:03->MKP Plugins: Doing code=[function] name=[option] value=[my_handler]
10/23/19 05:38:03->MKP Plugins: Doing code=[set_option] name=[set_option] value=[true]
10/23/19 05:38:03->MKP Plugins: Setting Option show_all_igroups = [false]
10/23/19 05:38:03->MKP Plugins: Setting Option function = [my_handler]
10/23/19 05:38:03->MKP Plugins: Doing code=[show_options] name=[show_options] value=[true]
10/23/19 05:38:03->MKP Plugins: Getting name=[reset_options] code=[reset_options] value=[true]
10/23/19 05:38:03->MKP Plugins: Getting name=[option] code=[option] value=[verbose]
10/23/19 05:38:03->MKP Plugins: Getting name=[set_option] code=[set_option] value=[true]
10/23/19 05:38:03->MKP Plugins: Doing code=[reset_options] name=[reset_options] value=[true]
10/23/19 05:38:03->MKP Plugins: Old option = [b:0;]
10/23/19 05:38:03->MKP Plugins: New Option = [a:13:{s:7:"enabled";b:1;s:7:"verbose";b:1;s:12:"do_backtrace";i:0;s:7:"logfile";s:15:"MKP Plugins.log";s:7:"handler";a:3:{s:8:"function";b:0;s:5:"class";s:8:"MKP_Base";s:6:"method";s:11:"file_logger";}s:16:"show_all_igroups";b:0;s:21:"show_loggedin_igroups";b:0;s:6:"source";s:13:"MKP Plugins: ";s:8:"autoload";a:4:{s:11:"communities";b:0;s:8:"contacts";b:0;s:7:"igroups";b:0;s:6:"mapper";b:0;}s:17:"table_name_prefix";s:7:"mkpusa_";s:19:"options_name_prefix";s:10:"mkpusa_29_";s:19:"google_api_key_name";s:18:"mkp_google_api_key";s:20:"google_api_key_value";s:39:"AIzaSyCi8B3Z5SICnMBSYnhoNgZ3BaG8Lr_Of1k";}]
10/23/19 05:38:03->MKP Plugins: Options reset to their defualt values
10/23/19 05:38:03->MKP Plugins: Doing code=[option] name=[option] value=[verbose]
10/23/19 05:38:03->MKP Plugins: Doing code=[set_option] name=[set_option] value=[true]
10/23/19 05:38:03->MKP Plugins: Setting Option option = [verbose]
10/23/19 05:38:03->MKP Plugins: Old option = [a:13:{s:7:"enabled";b:1;s:7:"verbose";b:1;s:12:"do_backtrace";i:0;s:7:"logfile";s:15:"MKP Plugins.log";s:7:"handler";a:3:{s:8:"function";b:0;s:5:"class";s:8:"MKP_Base";s:6:"method";s:11:"file_logger";}s:16:"show_all_igroups";b:0;s:21:"show_loggedin_igroups";b:0;s:6:"source";s:13:"MKP Plugins: ";s:8:"autoload";a:4:{s:11:"communities";b:0;s:8:"contacts";b:0;s:7:"igroups";b:0;s:6:"mapper";b:0;}s:17:"table_name_prefix";s:7:"mkpusa_";s:19:"options_name_prefix";s:10:"mkpusa_29_";s:19:"google_api_key_name";s:18:"mkp_google_api_key";s:20:"google_api_key_value";s:39:"AIzaSyCi8B3Z5SICnMBSYnhoNgZ3BaG8Lr_Of1k";}]
10/23/19 05:38:03->MKP Plugins: New Option = [a:15:{s:7:"enabled";b:1;s:7:"verbose";b:1;s:12:"do_backtrace";i:0;s:7:"logfile";s:15:"MKP Plugins.log";s:7:"handler";a:2:{s:5:"class";s:8:"MKP_Base";s:6:"method";s:11:"file_logger";}s:16:"show_all_igroups";b:0;s:21:"show_loggedin_igroups";b:0;s:6:"source";s:13:"MKP Plugins: ";s:8:"autoload";a:4:{s:11:"communities";b:0;s:8:"contacts";b:0;s:7:"igroups";b:0;s:6:"mapper";b:0;}s:17:"table_name_prefix";s:7:"mkpusa_";s:19:"options_name_prefix";s:10:"mkpusa_29_";s:19:"google_api_key_name";s:18:"mkp_google_api_key";s:20:"google_api_key_value";s:39:"AIzaSyCi8B3Z5SICnMBSYnhoNgZ3BaG8Lr_Of1k";s:6:"loaded";a:0:{}s:6:"option";s:7:"verbose";}]
10/23/19 05:38:40->MKP Plugins: Getting name=[verbose] code=[verbose] value=[true]
10/23/19 05:38:40->MKP Plugins: Getting name=[options] code=[options] value=[true]
10/23/19 05:38:40->MKP Plugins: No action code found
10/23/19 05:38:40->MKP Plugins: 1 errors detected:
10/23/19 05:38:40->MKP Plugins: Table Name: [mkpusa_29_notifications]
10/23/19 05:38:40->MKP BASE: Saving Notification type 3[1 errors detected:] to table [mkpusa_29_notifications]
10/23/19 05:38:40->MKP Plugins: No action code found
10/23/19 05:38:40->MKP Plugins: Table Name: [mkpusa_29_notifications]
10/23/19 05:38:40->MKP BASE: Saving Notification type 2[No action code found] to table [mkpusa_29_notifications]
10/23/19 05:39:35->MKP Contacts: Processing MKP Contacts
Shortcode: verbose,Bellingham,list
10/23/19 05:39:35->MKP Contacts: Getting name=[verbose] code=[verbose] value=[true]
10/23/19 05:39:35->MKP Contacts: Getting name=[community] code=[community] value=[Bellingham]
10/23/19 05:39:35->MKP Contacts: Getting name=[list] code=[list] value=[true]
10/23/19 05:39:35->MKP Contacts: Community = [Bellingham]

10/23/19 05:39:35->MKP Contacts: Selecting Contacts without children where region=[] area=[] community=[Bellingham]
10/23/19 05:39:35->MKP Contacts: Region=[United States] Area=[Northwest] Community=[Bellingham]
10/23/19 05:40:27->MKP Plugins: Getting name=[show_diagnostics] code=[show_diagnostics] value=[true]
10/23/19 05:40:27->MKP Plugins: Doing code=[show_diagnostics] name=[show_diagnostics] value=[true]
10/23/19 05:41:18->MKP Plugins: Getting name=[verbose] code=[verbose] value=[true]
10/23/19 05:41:18->MKP Plugins: Getting name=[message] code=[message] value=[This is a diagnostic message which will use the notify code to have the message popup on the screen.]
10/23/19 05:41:18->MKP Plugins: Getting name=[report] code=[report] value=[true]
10/23/19 05:41:18->MKP Plugins: Getting name=[show_diagnostics] code=[show_diagnostics] value=[true]
10/23/19 05:41:18->MKP Plugins: Doing code=[verbose] name=[verbose] value=[true]
10/23/19 05:41:18->MKP Plugins: Doing code=[message] name=[message] value=[This is a diagnostic message which will use the notify code to have the message popup on the screen.]
10/23/19 05:41:18->MKP Plugins: Doing code=[report] name=[report] value=[true]
10/23/19 05:41:18->MKP Plugins: This is a diagnostic message which will use the notify code to have the message popup on the screen.
10/23/19 05:41:18->MKP Plugins: Doing code=[show_diagnostics] name=[show_diagnostics] value=[true]