[ad_1]
[ad_2]
I'm trying to solve a problem with my rest API that popped up in my health check.
Endpoint da REST API: https://mywebsite/wp-json/wp/v2/types/post?context=edit
REST API: (400) Bad Request
After activating debug log this is the only problem that get spammed:
[04-Oct-2024 11:24:17 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/mywebsite/public_html/wp-includes/media.php on line 795
[04-Oct-2024 11:24:17 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/mywebsite/public_html/wp-includes/media.php on line 801https://mywebsite/wp-json/wp/v2/types/post?context=edit
Does anyone if this is related to the rest API problem or how I can even begin to try and fix this ? I am not really sure what problem this is causing because for the past few days I haven't noticed anything not working.