admin管理员组

文章数量:1131161

I have enabled WP_DEBUG in config.
I have also set WP_DEBUG_LOG to true
WP_DEBUG_DISPLAY is false.

I have one of the custom plugin that is inactive from the admin. But when i check the log file, there are php warnings etc logged about that plugin.

I am using wordpress rest API, and checking log. Am wondering how come inactive plugin logs error/warnings...

I have enabled WP_DEBUG in config.
I have also set WP_DEBUG_LOG to true
WP_DEBUG_DISPLAY is false.

I have one of the custom plugin that is inactive from the admin. But when i check the log file, there are php warnings etc logged about that plugin.

I am using wordpress rest API, and checking log. Am wondering how come inactive plugin logs error/warnings...

Share Improve this question asked Nov 2, 2023 at 4:54 Rajeev VyasRajeev Vyas 2,5231 gold badge18 silver badges20 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I had this line in mu-plugins folder, which was adding the plugin to active list... add_filter("pre_option_active_plugins", 'filter_loaded_plugins', 10, 2);

本文标签: wp debugInactive plugin warnings logged in log file