Tagged: php.update
-
AuthorPosts
-
June 25, 2023 at 11:44 pm #1411672
Hi Enfold team,
my site stops running when to php 8.0
Enfold Version: 5.6.2I have updated everything (wordpress, all plugins and enfold) but still the issue is there.
Please help me fix this issue.To make sure the site runs, i switched it back to php 7.4 but the server charges for that version
June 26, 2023 at 1:50 am #1411675Hi Rio1,
Can you tell us what error was?
Best regards,
NikkoJune 26, 2023 at 9:25 am #1411703Hi Nikko,
I switched back to PHP 8. if you go to the webpage now, you will see the error.
June 26, 2023 at 11:26 am #1411714Hi,
Thanks for the update. I can’t see any errors on your site, could you let us know how to reproduce it please? Also please post admin WordPress login details in private, so that we can have a closer look at your site.
Best regards,
RikardJune 26, 2023 at 12:06 pm #1411725how to reproduce: just visit the site. it will say there is a critical error
“Es gab einen kritischen Fehler auf deiner Website.
Erfahre mehr über die Problembehandlung in WordPress.”I can give you a temporary admin login, but for that I will have to switch the PHP Version back to 7.4
in that case the error will disappear and the site will work again. Should I do that?June 26, 2023 at 8:13 pm #1411756Hi,
Thanks for the update, but your site is loading fine on my end. There are no errors, that is why I’m asking how to reproduce it?
Best regards,
RikardJune 27, 2023 at 9:47 am #1411799Hi Rikard,
it seems only the home page is loading fine,
If you click on either ‘Artists’, ‘galerie’, ‘veranstaltungen’, ‘räume’, ‘kontakt’
the site will show an error.June 27, 2023 at 10:58 am #1411813Hi,
Thanks for the clarification. Could you share server error logs with us please? Also please try to deactivate all plugins to see if that makes any difference. We might need access to the backend of your site, if you could include admin WordPress login details in private, then that would be appreciated.
Best regards,
RikardJune 27, 2023 at 12:18 pm #1411827see the server logs in the private section
i can give you temporary access. but for that I have to switch back the php version to 7.4 -> in that case the error will disappear.
Shall I do that?- This reply was modified 1 year, 6 months ago by Rio1.
June 27, 2023 at 12:52 pm #1411836Hi,
Thanks for that. What you posted looks like an access log, and it’s huge. Don’t you have a log which only shows errors?
Best regards,
RikardJune 27, 2023 at 6:59 pm #1411872yes, here is the error logfile
- This reply was modified 1 year, 6 months ago by Rio1.
June 27, 2023 at 8:25 pm #1411887Hi,
Thanks for that. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardJune 28, 2023 at 9:29 am #1411933Hi Rikard,
here are temporary admin credentials.
Please note, that for the backend to work, I had to swith the php version back to 7.4 , which makes the error disappear (as the error only shows with pho 8)
thank youJune 28, 2023 at 10:47 am #1411941Hi,
Thanks for that. The login details you posted are not working, please check and verify. Also, maybe you could provide us access to your hosting provider, so that we can test different PHP versions on our own?
Best regards,
RikardJune 28, 2023 at 10:52 am #1411942sorry rikkard,
these should work.June 28, 2023 at 7:21 pm #1411982Hi,
Thanks for that. Please provide us with FTP login details as well, and let us know where in your hosting interface we can see error logs. Also please give us permission to deactivate all plugins for debugging purposes.
Best regards,
RikardJune 29, 2023 at 2:22 pm #1412070find the sftp login attached
I have deactivated all plugins. and you have an admin acount so you should be able to deactive all plugins too.June 29, 2023 at 8:34 pm #1412103Hi,
Thanks for that. The problem seems to be coming from your wp-config.php file, when this line is commented out, your site works as it should running both PHP 8.0 and 8.1:
define( 'WP_AUTO_UPDATE_CORE', minor );
That is related to automatic updates, but I can’t tell you why it’s breaking your site unfortunately. If you need further help with that, then please try reaching out to your hosting provider.
Edit; I’ve left the code commented out for now, and the PHP version is set to 8.1.
Best regards,
Rikard- This reply was modified 1 year, 5 months ago by Rikard.
June 30, 2023 at 12:53 am #1412119thanks a lot Rikard.
it works now!June 30, 2023 at 10:57 am #1412144 -
AuthorPosts
- You must be logged in to reply to this topic.