• 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(' &mdash; '); echo $count . ' '; _e('postitust'); wp_reset_query(); ?></h1>

    Is there something that is not compatible with php 7.3?

Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    Either find a theme that is compatible with your PHP,

    Or:

    You’re using a commercial theme. For commercial product support please contact the author directly on their site. We feel they are best equipped to support their products.

    https://www.flytonic.com/

    Forum volunteers are not given access to commercial products, so they would not know why it is not working properly.

    Commercial products are not supported in these forums.

Viewing 1 replies (of 1 total)
  • The topic ‘php 5.6 to 7.3, theme problem’ is closed to new replies.