Custom Plugin (mu-plugins) Issue
-
Hi,
We have one custom plugin page. That page file path is – wp-content\mu-plugins\custom_api_logs_list.php
We wrote the coding to list all our API logs from database logs table and list in the table format – look here – https://prnt.sc/Swje1VdgkVDh
This page file having code to get data from logs table with offset & limit. But facing the slow php error in php slow log – https://prnt.sc/91W0Y-nAtv8r
and please see other errors also in the screenshot.
Due to the error, the page is not loading, its taking long time and display timeout error ‘The application did not respond in time’.Here is some screenshot from coding –
https://prnt.sc/WZhGktRewP3X
https://prnt.sc/rtcaMBwU2ME4
https://prnt.sc/OlaBSDQ6d7cX
https://prnt.sc/LkGFGEf1ayvO1. If I try print_r or echo before get_var() query, everything is working, no slow in the page. But get_var only not working. All other remaining is working.
2. I tried get_results() instead of get_var() but thats also triggered error & not loadingIts happened in WP 6.0.2 only i think.. Bcz before in old version, we didn’t face this issue.
Can anyone please help.
The page I need help with: [log in to see the link]
- The topic ‘Custom Plugin (mu-plugins) Issue’ is closed to new replies.