Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1378064

    Hello together
    I have installed here a trial page where I can use the plugin: NGG Smart Image Search.
    You can search with %%%
    The result is displayed without problems.
    The PHP version is 7.4

    If I set the PHP version to 8.1 an error appears:

    Warning: Constant hr_SIS_dump_mode already defined in /home/httpd/vhosts/dorfgeschichte.li/archiv.dorfgeschichte.li/wp-content/themes/enfold-child/class-ngg-smart-image-search-public-update-pd.php on line 13 Warning: session_start(): Session cannot be started after headers have already been sent in /home/httpd/vhosts/dorfgeschichte.li/archiv.dorfgeschichte.li/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php on line 102 Warning: session_start(): Session cannot be started after headers have already been sent in /home/httpd/vhosts/dorfgeschichte.li/archiv.dorfgeschichte.li/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php on line 53

    I have contacted the plugin manufacturer.
    This means he already has installations with the version PHP 8.1.
    It must be the theme Enfold

    Maybe they can help me

    thank you
    kind regards Franz

    Translated with http://www.DeepL.com/Translator (free version)

    #1378080

    Hey schweg33,

    Thank you for the inquiry.

    We are not sure what is causing this issue but updating the theme from 5.1.2 to version 5.3.1.1 and adding this filter in the functions.php file should help.

    function ava_custom_theme_setup() {
            add_theme_support('avia_no_session_support');
    }
    add_action( 'after_setup_theme', 'ava_custom_theme_setup' );
    

    Best regards,
    Ismael

    #1378090

    Hello Ismael, thank you for your answer

    Now only one line appears when I start the page:

    Warning: Constant hr_SIS_dump_mode already defined in /home/httpd/vhosts/dorfgeschichte.li/archiv.dorfgeschichte.li/wp-content/themes/enfold-child/class-ngg-smart-image-search-public-update-pd.php on line 13

    If I then click on “Bilder suchen”, the search opens normally:
    When I then perform a search, this error appears:

    Warning: Undefined array key “category” in /home/httpd/vhosts/dorfgeschichte.li/archiv.dorfgeschichte.li/wp-content/themes/enfold-child/class-ngg-smart-image-search-public-update-pd.php on line 981

    Thanks in advance
    Kind regards
    Franz

    #1378209

    Hi,

    Warning: Constant hr_SIS_dump_mode already defined in /home/httpd/vhosts/dorfgeschichte.li/archiv.dorfgeschichte.li/wp-content/themes/enfold-child/class-ngg-smart-image-search-public-update-pd.php on line 13

    Did you override the class-ngg-smart-image-search-public-update-pd.php in your child theme? The error is generated from that file.

    Best regards,
    Ismael

    #1378289

    yes there was a change made for me
    Sorry that I have not indicated that.

    I have now written to this programmer.
    and hope that he still makes me these changes.

    I think we will close this ticket then.

    thanks and
    kind regards
    Franz

    #1378305

    Hi Franz,

    Thanks for the update, I’ll go ahead and close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘After Update PHP 7.4 to 8.1’ is closed to new replies.