Upgrade PHP to 7.1 error 500

Posted in: Newspaper
Post count: 26

I installed WordPress and the theme with php 5.6 version. But when i upgrade to php 7.1 the site is down with error 500. Even when i disable all the plugins i get error 500. What could be the reason?

Post count: 23312

Hello gdg161987,

Check the requirements list from here -> https://forum.tagdiv.com/requirements-for-newspaper/ and also, notice that we recommend maximum PHP 7.2 version for better results.

Hope this helps and let us know how it goes!

Thanks for the message!

Post count: 26

Hi,

Thanks for your reply. I already checked the requirements and i did all the necessary adjustments to met the requirements. Also when i look at the System Status everything is OK. Also i did the following:

1. Deactivated all the plugins and the theme.
2. Then i changed the PHP version
3. Website is functioning correctly, no error 500
4. Activated all plugins
5. Website is functioning correctly, no error 500
6. Activated Newspaper theme
7. Website is down, error 500 again.

Post count: 26

I already figured it out. I enabled the debug mode of WordPress and the problem was in the functions.php of the child theme. There was some strange code in there. The code doesn’t even exist in your functions.php of the child theme. After i removed the code, everything was functioning fine.

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.