What does the error Notice: Trying to get property of non-object?

How can I fix Notice: Trying to get property of non-object in /home/svet2/site.ru/wp-admin/includes/class-wp-media-list-table.php
June 7th 19 at 15:03
1 answer
June 7th 19 at 15:05
Enable debug through wp-config.php and see which of the plugins would cause an error.
Or disable all plugins and enable them one by one until the problem will not recur. The last included plugin will be the culprit. Do the same with the theme. Turn on default theme, twenty.... Then check the logs for this error. Also update the plugins, maybe the problem is fixed in newer versions

And a quick search gave the following - https://wordpress.org/support/topic/error-on-post-...

Find more questions by tags WordPress