• Resolved bugrider

    (@bugrider)


    Installed Wordfence 7.4.14 from within WordPress Plugins Add function.

    It appears now that sometimes after login, phpinfo() is displayed, nothing more. A page reload (F5) in the browser then loads the site Dashboard.

    ‘sometimes’ means, that it does not occur always. I have not recognized a specific pattern yet, as to when it will occur and when not. It seems though that it does not occur if you logout and then login again immediately. So, it seems that some time (hours?) must have passed before such a phpinfo() anomaly occurs. But even then there is no guarantee that the problem shows up. That is what I can tell up to now – I will keep observing this.

    Note that the site only has one user (wpadmin) configured. So I cannot tell anything about other userIDs.

    I noticed that the same problem was discussed here in this forum more than 2 years ago. But I could not draw any conclusion from that discussion.

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @bugrider, this is a strange problem that I am sure is not caused by Wordfence but in fact either another plugin, theme custom code, the web server, or possibly the way the development environment was set up prior to go-live.

    Firstly, ensure WordPress, its plugins and themes are all up-to-date. Disabling all plugins other than Wordfence could help identify the troublemaker. To do so, I usually recommend the Health Check & Troubleshooting plugin which allows you to disable all plugins and switch to a default theme, but only for your user to prevent downtime for other site visitors. If the error doesn’t present when only Wordfence is active, you can then reactivate your other plugins one-by-one to see when this issue starts presenting itself.

    It could also be worth contacting your host and describing this problem as this has occurred on WordPress for others following the hosting company re-installing an SSL certificate or making another change on your server. They may also know more details about the hosting environment as some products such as MAMP or WAMP default to phpinfo() under certain circumstances so this may be a misconfiguration on your live environment.

    Failing the above, test for the error and when it occurs note the time. After this, check the PHP error log file and see if you can find any errors occurring at that time. This could possibly show a plugin/theme/core file that contains a problem where the fallback is displaying phpinfo().

    I hope this can help point you in the right direction!

    Peter.

Viewing 1 replies (of 1 total)

The topic ‘phpinfo() displayed after login’ is closed to new replies.