mainwp / mainwp-child

The MainWP Child plugin is installed on the WordPress sites that you want to control from the MainWP Dashboard.
https://mainwp.com
GNU General Public License v3.0
93 stars 54 forks source link

MainWP hides error messages #287

Closed d-damien closed 2 years ago

d-damien commented 2 years ago

Describe the bug It appears MainWP hides certain error messages, which can make debugging quite complicated. The result is that you just see the usual Wordpress critical error panel, but without any specific indication. Another important point is that nothing is logged : no 500 error shows in Apache logs.

To Reproduce It's not always reproducible unfortunately, but the most common unlogged problem is the "out of memory" error. Install a well-known memory greedy Wordpress plugin, with MainWP Child activated, and when it crashes, you will (probably) see the problem. It doesn't tell you which plugin is at fault.

The plugins with which I've had that kind of encounters are WooCommerce with Jetpack & YoastSEO.

Expected behavior Let errors be logged. And displayed if WP_DEBUG is true.

Server Debian 9.13 with Apache 2.4 and PHP 7.4 FPM. memory_limit is 256 MB, which is enough for a large majority of websites.

Thanks

bogdan-mainwp commented 2 years ago

Hi @d-damien,

do you have Security Issues fixes applied for the child site in your MainWP Dashboard?

bogdan-mainwp commented 2 years ago

@d-damien if you still experience this problem, feel free to reach out to us via helpdesk ticket.