: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
<# if ( data.form_id ) { #>
<div class="wpforms-log-popup-label"><?php esc_html_e( 'Entry ID', 'wpforms-lite' ); ?></div>
<div class="wpforms-log-popup-entry-id">
<# if ( data.entry_id ) { #>
<a href="{{ data.entry_url }}">
<# if ( data.entry_id ) { #>
<div class="wpforms-log-popup-label"><?php esc_html_e( 'User ID', 'wpforms-lite' ); ?></div>
<div class="wpforms-log-popup-user-id">
<# if ( data.user_id ) { #>
<a href="{{ data.user_url }}">
<# if ( data.user_id ) { #>
* Display list table page.
public function display_page() {
$this->prepare_column_headers();
echo '<div class="wpforms-list-table wpforms-list-table--logs">';
echo '<form id="' . esc_attr( $this->_args['plural'] ) . '-filter" method="get">';
* Check if the database table exists.
* @noinspection PhpMissingReturnTypeInspection
* @noinspection ReturnTypeCanBeDeclaredInspection
public function table_exists() {
_deprecated_function( __METHOD__, '1.8.7 of the WPForms plugin' );
return $this->repository->table_exists();
public function get_total() {
return $this->repository->get_total();
* Gets the screen per_page option name.
private function get_per_page_option_name() {
return str_replace( '-', '_', $this->screen->id ) . '_per_page';