Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: vgi on October 01, 2024, 03:16:17 PM

Title: CWP7.PRO - REST API - 404 not found (caused Wordpress not working
Post by: vgi on October 01, 2024, 03:16:17 PM
Hi there,
Im runnung CWP7:PRO on my server and my hosted Wordpress instalations (new and updated) had errors with REST API. It returns a 404 Not found error, which is going to break a lot of functions on the WP sites. Could anyone help me please?
Title: Re: CWP7.PRO - REST API - 404 not found (caused Wordpress not working
Post by: cyberspace on October 01, 2024, 03:37:57 PM
Send some REST API request and then check error logs of the sites and webserver:
/usr/local/apache/logs/error_log
/usr/local/apache/domlogs/DOMAIN.error.log

to investigate problem.
Title: Re: CWP7.PRO - REST API - 404 not found (caused Wordpress not working
Post by: overseer on October 01, 2024, 08:20:01 PM
Which version of PHP are you running with your WP sites? Some newer versions (8.2+)  are not fully compatible with WP yet... even 8.0 and 8.1 have some compatibility exceptions:
https://wordpress.org/about/requirements/ (https://wordpress.org/about/requirements/)
Title: Re: CWP7.PRO - REST API - 404 not found (caused Wordpress not working
Post by: vgi on October 02, 2024, 06:57:43 AM
Thank you, good question, i use PHP version: 8.1.7
Title: Re: CWP7.PRO - REST API - 404 not found (caused Wordpress not working
Post by: cyberspace on October 02, 2024, 07:38:47 AM
Does your answer mean "the problem is solved" ?
Title: Re: CWP7.PRO - REST API - 404 not found (caused Wordpress not working
Post by: vgi on October 02, 2024, 12:02:41 PM
Hi, no, it is not solved for now, im still searching the cause and sollution... :)