Support Forums

Support Forums Forums General Support Fatal error

This topic is: resolved
Viewing 10 posts - 1 through 10 (of 18 total)
  • Uwern Jong
    #263562

    I purchased the plugin as it’s just what I need.
    I uploaded the plugin and it won’t activate, I receive this error:

    Fatal error: Can’t use method return value in write context in
    /search-filter-pro/includes/class-search-filter-third-party.php on line 1409

    Can you please help?

    Trevor Moderator
    #263578

    What version of PHP is your server using?

    Uwern Jong
    #263588

    Ah, I have yet to update it as I’m going through the site fixing plugins. What version do I need as minimum?

    Trevor Moderator
    #263590

    Ideally, on at least PHP 7.0.x, but preferably 7.2 or higher.

    Uwern Jong
    #263592

    Got it, thank you. Will revert when I get it updated

    Trevor Moderator
    #263595

    OK. I will wait to hear from you.

    Uwern Jong
    #266451

    Thank you, it is working now.
    But I’m having some trouble figuring it all out.

    So, I have my test search set up, you will see this here:
    https://www.outthere.travel/test-page/
    But when the search runs with whatever selection, it always returns ALL results, not the category results.

    If I use the shortcode, I can return the right results, but not to template…

    I followed your notes and checked the theme “search.php” file, this is what I see:

    <?php
    /**
    * @package 15Zine
    * @since 1.0.0
    */

    get_header();
    ?>
    <div id=”cb-content” class=”<?php esc_attr( codetipi_15zine_archive_layout_class() ); ?>”>
    <div class=”tipi-cols clearfix”>
    <div id=”main” class=”<?php esc_attr( codetipi_15zine_main_class() ); ?>”>
    <?php
    codetipi_15zine_title_box();
    codetipi_15zine_main_layout();
    ?>
    </div>
    <?php codetipi_15zine_get_sidebar( array( ‘archive’ => codetipi_15zine_preview_check() ) ); ?>
    </div>
    </div>
    <?php
    get_footer();

    I’m an amateur on this, so would appreciate your help. I’m sure it’s just me doing something wrong. Thanks in advance.

    Trevor Moderator
    #266573

    It looks like your theme might be a ‘framework’ theme. What theme are you using? Does it have a page builder function or plugin?

    Uwern Jong
    #266577

    Hi Trevor, thanks for getting back to me. It is called 15Zine by Cubell themes.
    Yes, I believe that there is a page builder function in-built, for pages only but not posts.

    Trevor Moderator
    #266583

    I see it. That builder we cannot use, sorry.

    We do support some third party page builders, like:

    Elementor Pro
    WPBakery Page Builder (from CodeCanyon)
    Beaver Builder

Viewing 10 posts - 1 through 10 (of 18 total)

The topic ‘Fatal error’ is closed to new replies.