php 5.6 to 7.3, theme problem
-
Please, maybe someone can help..
Wordpress 5.2.4, old flytonic theme.
I upgraded PHP 5.6 to 7.3.2 and now I can’t use theme “search”… gives an error:
“There has been a critical error on your website. Learn more about debugging in WordPress.”PHP Error Log:
“Parse error: syntax error, unexpected ‘new’ (T_NEW) in /hermes/bosnaweb16a/b2629/ipg.kasiinodorg/boonused/wp-content/themes/flytonictheme/search.php on line 8”Flytonic theme search.php Line 8
<h1>Otsingu tulemus - <?php /* Search Count */ $allsearch = &new WP_Query("s=$s&showposts=-1"); $key = wp_specialchars($s, 1); $count = $allsearch->post_count; _e(''); _e('<span class="search-terms">'); echo $key; _e('</span>'); _e(' — '); echo $count . ' '; _e('postitust'); wp_reset_query(); ?></h1>
Is there something that is not compatible with php 7.3?
- The topic ‘php 5.6 to 7.3, theme problem’ is closed to new replies.