-
AuthorPosts
-
January 9, 2023 at 9:59 pm #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.4If 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 EnfoldMaybe they can help me
thank you
kind regards FranzTranslated with http://www.DeepL.com/Translator (free version)
January 10, 2023 at 5:56 am #1378080Hey 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,
IsmaelJanuary 10, 2023 at 9:18 am #1378090Hello 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
FranzJanuary 11, 2023 at 7:41 am #1378209Hi,
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,
IsmaelJanuary 11, 2023 at 6:03 pm #1378289yes 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
FranzJanuary 11, 2023 at 7:40 pm #1378305Hi 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 -
AuthorPosts
- The topic ‘After Update PHP 7.4 to 8.1’ is closed to new replies.