Forums Forums Search & Filter Pro Error on settings page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #132915

    Hello
    I’ve activated the plugin, but when I try to add a new search form I get this error on ‘Add new search form’ screen:

    Warning: Cannot assign an empty string to a string offset in /srv/users/serverpilot/apps/authntico/public/wp-content/plugins/search-filter-pro/includes/class-search-filter-helper.php on line 235

    Warning: Illegal string offset ‘results_url’ in /srv/users/serverpilot/apps/authntico/public/wp-content/plugins/search-filter-pro/includes/class-search-filter-helper.php on line 235

    Warning: Illegal string offset ‘results_url’ in /srv/users/serverpilot/apps/authntico/public/wp-content/plugins/search-filter-pro/includes/class-search-filter-helper.php on line 235

    Thank you

    Trevor
    #132928

    I am not sure why this is showing for you. If otherwise it is working, you need to follow the advice from the PHP manual and make sure that the PHP variable display_errors is set to OFF (in php.ini).

    From what you write, it is ON and that is not correct/normal server PHP setup.

    For PHP 5.x by default this setting is ON on first install, for PHP 7 they have fixed it and it is OFF by default.

    Anonymous
    #133724

    Hello,
    The problem was resolved..
    But I have another issue.
    On Search results page I can’t use search form. Please see attached video:

    https://drive.google.com/file/d/0B2148dQWGckEWHA5aUVRYU1lbjg/view

    Tnx

    Trevor
    #133784

    I went to the page that I could see in the video and the works for me, even after a selection is made. I do see that the form uses Ajax and that the Ajax Container is set to #main and instead it should be either .posts or #destinations (as they are the containers that hold the results. I am not which it should be.

    Anonymous
    #133945

    The issue was fixed. Thank You.
    I have another question..
    Why in search result page the meta title displays the meta data from the first post ?

    http://45.55.212.250/?sfid=21025&_sft_category=%D7%98%D7%99%D7%95%D7%9C%D7%99%D7%9D-%D7%91%D7%99%D7%A4%D7%9F

    Thank you

    Trevor
    #133949

    It looks like your search form results page is using your standard archives.php template file. Thus it is your theme that is doing this.

    The following suggestion assumes that you are using a child theme, and not a master theme (Orbisius do a free child theme maker plugin to make this easy if you are not using a child theme):

    It may be possible to copy this template file into the child theme folder and rename it (e.g. search-results.php) and set the form to use that. If the page still has the wrong title, you may need to edit the template file. You might be able to hard code the title.

Viewing 6 posts - 1 through 6 (of 6 total)