Errors on related posts links
-
Hi
I am getting regular, almost daily error messages on my error log regarding this plugin. These don’t seem to occur when adding the post, or when linking to other posts in admin.
But if a user clicks on a related post on the website, the link will function correctly, but errors are created on the error log. Eg:[18-Jul-2023 09:36:10 UTC] PHP Warning: Attempt to read property "ID" on null in .../wp-content/plugins/related-posts-for-wp/classes/class-post-link-manager.php on line 460 [18-Jul-2023 09:36:10 UTC] PHP Warning: Attempt to read property "post_title" on null in .../wp-content/plugins/related-posts-for-wp/classes/class-post-link-manager.php on line 463 [18-Jul-2023 09:36:10 UTC] PHP Warning: Attempt to read property "post_excerpt" on null in .../wp-content/plugins/related-posts-for-wp/classes/class-post-link-manager.php on line 471 [18-Jul-2023 09:36:10 UTC] PHP Warning: Attempt to read property "post_content" on null in .../wp-content/plugins/related-posts-for-wp/classes/class-post-link-manager.php on line 471 [18-Jul-2023 09:36:10 UTC] PHP Warning: Attempt to read property "ID" on null in .../wp-content/plugins/related-posts-for-wp/classes/class-post-link-manager.php on line 473
Can anyone shed any light why this is happening?
thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Errors on related posts links’ is closed to new replies.