WPIntell

Source evidence

Heartbeat error

Heartbeat Control · support · 2023-02-14T11:33:00+00:00

complaintsentiment
mediumseverity
0.92relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 11 rows with source links

9.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

10 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
aidinnn unresolved
i am using 6.1.1 latest version of wordpress and latest version of heartbeat control plugin. I have this error in my word press: Deprecated: Required parameter $field_id follows optional parameter $type in /home/diets058/public_html/wp-content/plugins/heartbeat-control/vendor/cmb2/cmb2/includes/rest-api/CMB2_REST.php on line 693 How can I solve that? Any ideas? find the function wp-content/plugins/heartbeat-control/vendor/cmb2/cmb2/includes/rest-api/CMB2_REST.php on line 693 protected function field_can( $type = 'read_fields', $field_id, $return_object = false ) { if ( ! in_array( $field_id instanceof CMB2_Field ? $field_id->id() : $field_id, $this->{$type}, true ) ) { return false; } then edit it to protected function field_can( $type, $field_id, $return_object = false ) { if (empty($type))$type = 'read_fields'; if ( ! in_array( $field_id instanceof CMB2_Field ? $field_id->id() : $field_id, $this->{$type}, true ) ) { This reply was modified 3 years, 1 month ago by nathaniel45 . I have a another one with the same issue wp-content/plugins/heartbeat-control/vendor/cmb2/cmb2/includes/types/CMB2_Type_Multi_Base.php:34 //change public function list_input( $args = array(), $i ) { $a = $this->parse_args( 'list_input', array( //to public function list_input( $args, $i ) { if (!is_array($args))$args = array(); $a = $this->parse_args( 'list_input', array(

Comments

2 shown
nathaniel45 2023-04-27T01:29:00+00:00

find the function wp-content/plugins/heartbeat-control/vendor/cmb2/cmb2/includes/rest-api/CMB2_REST.php on line 693 protected function field_can( $type = 'read_fields', $field_id, $return_object = false ) { if ( ! in_array( $field_id instanceof CMB2_Field ? $field_id->id() : $field_id, $this->{$type}, true ) ) { return false; } then edit it to protected function field_can( $type, $field_id, $return_object = false ) { if (empty($type))$type = 'read_fields'; if ( ! in_array( $field_id instanceof CMB2_Field ? $field_id->id() : $field_id, $this->{$type}, true ) ) { This reply was modified 3 years, 1 month ago by nathaniel45 .

nathaniel45 2023-04-27T02:10:00+00:00

I have a another one with the same issue wp-content/plugins/heartbeat-control/vendor/cmb2/cmb2/includes/types/CMB2_Type_Multi_Base.php:34 //change public function list_input( $args = array(), $i ) { $a = $this->parse_args( 'list_input', array( //to public function list_input( $args, $i ) { if (!is_array($args))$args = array(); $a = $this->parse_args( 'list_input', array(