TypeError: Illegal offset type
-
TypeError: Illegal offset type in wordpress-seo/src/presenters/slack/enhanced-data-presenter.php:50
if ( $this->presentation->model->object_sub_type === ‘post’ && $author_id ) {$data[ \__( ‘Written by’, ‘wordpress-seo’ ) ] = \get_the_author_meta( ‘display_name’, $author_id );
}
if ( ! empty( $estimated_reading_time ) ) {
$data[ \__( ‘Est. reading time’, ‘wordpress-seo’ ) ] = \sprintf( \_n( ‘%s minute’, ‘%s minutes’, $estimated_reading_time, ‘default’ ), $estimated_reading_time );
}
Please help
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘TypeError: Illegal offset type’ is closed to new replies.