PHP warning: Attempt to read property “ID” on int
-
On a site that uses Polylang (Pro), we get a weird PHP error notification on certain search result pages:
Warning Attempt to read property "ID" on int Warning Attempt to read property "post_content" on int
The error pops up in Relevanssis relevanssi_get_current_language function.
I’ve tried looking at the posts displayed on the search result page using Relevanssis debug functions and Query Monitor, but can’t find anything strange-looking.
Any idea what I should be looking for?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP warning: Attempt to read property “ID” on int’ is closed to new replies.