Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/portfoli.../template...
File: portfolio.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Template Name: Portfolio template
[2] Fix | Delete
* Version: 1.4.7
[3] Fix | Delete
*/
[4] Fix | Delete
[5] Fix | Delete
get_header();
[6] Fix | Delete
$current_theme = get_stylesheet(); ?>
[7] Fix | Delete
<div class="wrap">
[8] Fix | Delete
<div id="primary" class="content-area">
[9] Fix | Delete
<div id="container" class="<?php echo in_array( $current_theme, array( 'twentyfourteen', 'twentytwelve' ) ) ? 'site-content' : ''; ?> site-main">
[10] Fix | Delete
<div id="content" class="hentry entry">
[11] Fix | Delete
<div class="entry-header<?php echo in_array( $current_theme, array( 'twentytwenty' ) ) ? ' has-text-align-center' : ''; ?>">
[12] Fix | Delete
<?php prtfl_template_title(); ?>
[13] Fix | Delete
</div>
[14] Fix | Delete
<div class="portfolio_box entry-content">
[15] Fix | Delete
<?php
[16] Fix | Delete
do_action( 'bwsplgns_display_pdf_print_buttons', 'top' );
[17] Fix | Delete
[18] Fix | Delete
/* Get arguments for WP Query */
[19] Fix | Delete
$args = prtfl_get_query_args();
[20] Fix | Delete
[21] Fix | Delete
$second_query = new WP_Query( $args );
[22] Fix | Delete
[23] Fix | Delete
/* Display template content */
[24] Fix | Delete
prtfl_get_content( $second_query );
[25] Fix | Delete
[26] Fix | Delete
wp_reset_postdata();
[27] Fix | Delete
wp_reset_query();
[28] Fix | Delete
[29] Fix | Delete
do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' );
[30] Fix | Delete
?>
[31] Fix | Delete
[32] Fix | Delete
<!-- Portfolio tmplate pagination -->
[33] Fix | Delete
<?php prtfl_pro_pagination( $second_query, $args ); ?>
[34] Fix | Delete
</div><!--.portfolio_box-->
[35] Fix | Delete
</div><!-- #content -->
[36] Fix | Delete
<?php comments_template(); ?>
[37] Fix | Delete
</div><!-- #container -->
[38] Fix | Delete
</div><!-- .content-area -->
[39] Fix | Delete
<?php
[40] Fix | Delete
if ( 'twentytwenty' == $current_theme ) {
[41] Fix | Delete
get_template_part( 'template-parts/footer-menus-widgets' );
[42] Fix | Delete
} elseif ( 'twentynineteen' !== $current_theme ) {
[43] Fix | Delete
get_sidebar();
[44] Fix | Delete
}
[45] Fix | Delete
?>
[46] Fix | Delete
</div><!-- .wrap -->
[47] Fix | Delete
<?php get_footer(); ?>
[48] Fix | Delete
[49] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function