PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 8.8.2
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v8.8.2
8.8.2 8.8.1 8.8.0 8.7.9 8.7.8 8.7.7 8.7.6 8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 All 538 releases
← All changes | addons/automator/includes/actions/tables-actions.php +6 -6 8.7.7 → 8.8.2 View file →
@@ -66,15 +66,15 @@
66 66 $config = isset( $action_data['config'] ) ? $action_data['config'] : array();
67 67 $table_id = absint( $this->parse_tokens( isset( $config['table_id'] ) ? $config['table_id'] : '', $trigger_data ) );
68 68
69 69 if ( ! $table_id ) {
70 - error_log( 'WPbot Tables_Actions::insert_record — missing table_id.' );
70 + //error_log( 'WPbot Tables_Actions::insert_record — missing table_id.' );
71 71 return false;
72 72 }
73 73
74 74 $table = Tables::get_table_meta_by_id( $table_id );
75 75 if ( ! $table ) {
76 - error_log( 'WPbot Tables_Actions::insert_record — table not found: ' . $table_id );
76 + //error_log( 'WPbot Tables_Actions::insert_record — table not found: ' . $table_id );
77 77 return false;
78 78 }
79 79
80 80 $raw = ! empty( $config['record_data'] ) ? $config['record_data'] : '{}';
@@ -95,9 +95,9 @@
95 95
96 96 $clean = Tables::extract_record_data_public( $record, $table['columns'] );
97 97 // Allow inserting with partial data — only require at least one column.
98 98 if ( empty( $clean ) ) {
99 - error_log( 'WPbot Tables_Actions::insert_record — no column data resolved (record_data empty and no trigger keys matched column slugs).' );
99 + //error_log( 'WPbot Tables_Actions::insert_record — no column data resolved (record_data empty and no trigger keys matched column slugs).' );
100 100 return false;
101 101 }
102 102
103 103 $clean['created_at'] = current_time( 'mysql' );
@@ -107,9 +107,9 @@
107 107 $wpdb->insert( $ut, $clean );
108 108 $new_id = (int) $wpdb->insert_id;
109 109
110 110 if ( ! $new_id ) {
111 - error_log( 'WPbot Tables_Actions::insert_record — DB insert failed: ' . $wpdb->last_error );
111 + //error_log( 'WPbot Tables_Actions::insert_record — DB insert failed: ' . $wpdb->last_error );
112 112 return false;
113 113 }
114 114
115 115 // Fire table trigger so workflows listening to "new_record" can chain.
@@ -130,15 +130,15 @@
130 130 $table_id = absint( $this->parse_tokens( isset( $config['table_id'] ) ? $config['table_id'] : '', $trigger_data ) );
131 131 $row_id = absint( $this->parse_tokens( isset( $config['row_id'] ) ? $config['row_id'] : '', $trigger_data ) );
132 132
133 133 if ( ! $table_id || ! $row_id ) {
134 - error_log( 'WPbot Tables_Actions::update_record — missing table_id or row_id.' );
134 + //error_log( 'WPbot Tables_Actions::update_record — missing table_id or row_id.' );
135 135 return false;
136 136 }
137 137
138 138 $table = Tables::get_table_meta_by_id( $table_id );
139 139 if ( ! $table ) {
140 - error_log( 'WPbot Tables_Actions::update_record — table not found: ' . $table_id );
140 + //error_log( 'WPbot Tables_Actions::update_record — table not found: ' . $table_id );
141 141 return false;
142 142 }
143 143
144 144 $raw = ! empty( $config['record_data'] ) ? $config['record_data'] : '{}';