Plugin Support
qtwrk
(@qtwrk)
Hi,
Could you please go to admin area , left-side bar —> LiteSpeed Cache —> Toolbox —> [6] Debug Settings
in this page:
set Debug Log to Admin IP Only
add your IP into Admin IPs (you will see your IP below.)
set Debug Level to Advanced
save changes.
Now go to [7] Log View, click on admin-bar LiteSpeed Cache —> Purge All
then click button [D] Clear Log , keep this window open, don’t close it nor navigate away from it.
Now ,open a new window, access your wp-json link
once page is loaded , go back to Log View window and refresh this page, you should see the debug log is showing up.
Then please copy all the text , paste it into https://paste.ubuntu.com/
then post the link it generated for you.
Best regards,
Thread Starter
arunx
(@arunx)
Hi,
Done logs. Please check log once. https://paste.ubuntu.com/p/tfhRqxJTsR/
I thought might be php version so changed version from 7.4 to 7.2 still issue is same.
Regards
Thread Starter
arunx
(@arunx)
Hi,
Can you see any specific issue which can cause this?
Regards,
Plugin Support
qtwrk
(@qtwrk)
Hi,
No , from the log it seems everything is fine.
Do you have root access ? maybe server log would show something.
I tried to reproduce this error but can not successfully make it happen on my test site.
Best regards,
Thread Starter
arunx
(@arunx)
Hi,
I have root access. Let me know which log files are required and location I can send it.
Regards,
Thread Starter
arunx
(@arunx)
Hi @qtwrk,
Please provide your guidance to fix this issue.I can give logs from server if you can tell which logs and location of logs. Thanks
Regards,
Plugin Support
qtwrk
(@qtwrk)
Hi,
Please do following:
edit /usr/local/lsws/lsphpXX/etc/php.ini
where XX is your php version the site is using.
find
;error_log = php_errors.log
remove the ;
find
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
change it to
error_reporting = E_ALL
save it , then run pkill lsphp
now trigger that error again , see if there is anything show up in /home/domain.com/public_html/php_errors.log
Best regards,
Thread Starter
arunx
(@arunx)
Hi @qtwrk,
Sorry for delay reply. Unfortunately nothing in error log after enabling php error log for php72. After enabling I got 2 warning message in log php_errors.log file.
[05-Jun-2020 04:32:42 UTC] PHP Warning: Use of undefined constant full - assumed 'full' (this will throw an Error in a future version of PHP) in /home/bloggersideas.com/public_html/wp-content/plugins/schemaninja/templates/sidebar_template.php on line 48
[05-Jun-2020 04:32:42 UTC] PHP Warning: Use of undefined constant full - assumed 'full' (this will throw an Error in a future version of PHP) in /home/bloggersideas.com/public_html/wp-content/plugins/schemaninja/templates/sidebar_template.php on line 48
So to remove warning message I removed that plugin from wordpress but still wp-json was giving 500 error page and no warning or php error in php_errors.log file.
I don’t know where to look for solution.
Plugin Support
qtwrk
(@qtwrk)
Hi,
Please create a ticket here
We will investigate it further.
Best regards,